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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to