Nothing in seam limits its use to web clients, though obviously a large amount of effort has been put into making JSF development smoother. A swing client can access a seam backend via EJBs remotely (right? I don't think you'd get conversational support though that's less important anyway with a stateful client). You can also use the webservice capabilities of JEE 1.5. Simplifying this is a major focus of current seam development in fact.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054403#4054403
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054403
BTW I use the fileUpload without problem. Here's my facelets page :
| <rich:panel>
| <f:facet name="header">#{messages['edit.file_upload']}</f:facet>
| <h:form enctype="multipart/form-data">
| <s:fileUpload data="#{questionnaire.picture}"
| accept="images/png,images/jpeg,images/gif"/>
| <h:commandButton value="Load"
| />
| </h:form>
| </rich:panel>
|
And a bit further I display the picture like this :
| <s:graphicImage value="#{questAnswer.target.picture}"
| rendered="#{not empty questAnswer.target.picture}"/>
| <h:outputText value="Picture"
| rendered="#{not empty questAnswer.target.picture}"/>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054395#4054395
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054395