"evl123" wrote : 
  | 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.
  | 

There is no need for any special backing bean, you just bind whichever of the 
file's properties you need (data, filename, content type) directly to your 
component.  The documentation in CVS explains which properties are available, 
but it seems you need data, contentType and fileName.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050351
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to