[jboss-user] [JBoss Seam] - Re: Simplest <s:fileUpload> usage

evl123 do-not-reply at jboss.com
Thu May 31 14:59:15 EDT 2007


"shane.bryzak at jboss.com" wrote : 
  | 
  | You need jboss-seam-ui.jar, and yes, <s:fileUpload> is the correct tag.  It's documented in the controls chapter of the Seam reference documentation.

Thanks Shane.
Now, on the JSF Action Listener side, what class and from what jar file do I need for the uploaded file's Backing Bean to have Seam inject the uploaded file into?
jboss-seam-ui.jar is for front-end tag but I still couldn't find the backend bean to catch the file.

So far, I've only been successful following an example that uses primitive type byte[] with gives only size but not meta attributes like filename. I want to be able to upload in Seam in a similar way as done through Struts FormFile class.

Thanks again.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050283#4050283

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050283



More information about the jboss-user mailing list