[jboss-user] [JBoss Seam] - Validate fileUpload
mustaghattack
do-not-reply at jboss.com
Wed Jun 27 07:13:41 EDT 2007
Just wondering would it be possible to validate (using the seam validation mecanism) a file.
I would like to upload an image but the accept attribute of the fileUpload component is neglected by the browser. So I wrote an Image validator and I would like to use it with s:validate. Problem fileUpload is not a EditableValueHolder. Thus I have to manually validate it (using ClassValidator) ...
Thanks,
Bruno
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058092#4058092
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058092
More information about the jboss-user
mailing list