[jboss-user] [JBoss Seam] - Re: s:graphicImage problems with Sun JSF Impl

mustaghattack do-not-reply at jboss.com
Thu Jun 14 10:19:50 EDT 2007


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



More information about the jboss-user mailing list