[richfaces-issues] [JBoss JIRA] Commented: (RF-11074) FileUpload ontyperejected not working

Jesse Bowes (JIRA) jira-events at lists.jboss.org
Wed Sep 14 11:33:27 EDT 2011


    [ https://issues.jboss.org/browse/RF-11074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628440#comment-12628440 ] 

Jesse Bowes commented on RF-11074:
----------------------------------

The following commits contain a proposed fix:

https://github.com/jessebs/components/commit/d8bc86f4674423733eb6fed04682ad58a6ff6abb
https://github.com/jessebs/components/commit/eb198d6fee16173d3a4f121fe4ceafca12b514d4
https://github.com/jessebs/components/commit/779262f3961bdf255efd16a3c978694742cafb16

> FileUpload ontyperejected not working
> -------------------------------------
>
>                 Key: RF-11074
>                 URL: https://issues.jboss.org/browse/RF-11074
>             Project: RichFaces
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.0.0.Final
>            Reporter: Jesse Bowes
>              Labels: fileupload
>             Fix For: 4.1.0.Tracking
>
>
> ontyperejected doesn't appear to be working in the 4.0.0.Final
> Code Snippet:
> {quote}
> <rich:fileUpload fileUploadListener="#{bean.listener}"
> 	id="upload" acceptedTypes="txt, pdf"
> 	ontyperejected="alert('wrong file type');"
> 	immediateUpload="true"
> 	maxFilesQuantity="10"
> 	allowFlash="true">
> </rich:fileUpload>
> {quote}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list