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

Jesse Bowes (JIRA) jira-events at lists.jboss.org
Wed Sep 14 23:52:26 EDT 2011


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

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

I submitted a new pull request with fewer changes.  The commits related are as follows:

https://github.com/jessebs/components/commit/1858dd375e43b720ce061f14c8da3536a3a9c433
https://github.com/jessebs/components/commit/75e2a8e9750eb5e0a46627a6c16ae86fae75f826
https://github.com/jessebs/components/commit/5ace178d05836a1ce01a4264844c39e5b156a6b4

> 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
>            Assignee: Lukáš Fryč
>              Labels: fileupload
>             Fix For: 4.1.0.Milestone3
>
>
> 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