Im using seam 2.0.0
I have a <s:fileUpload> and my application should accept only "image/png, 
image/jpg" files.
I used the <s:fileUpload> like this

  | <s:fileUpload accept="image/png, image/jpg" 
data="#{TPZBackgroundUploadAction.byteArray}" 
fileName="#{TPZBackgroundUploadAction.fileName}"/>
  | 

But when the component is diplayed, I can see all files not only "image/png, 
image/jpg".

What am I doing wrong?
Thanks for help!


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

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

Reply via email to