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

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Wed Aug 24 04:53:18 EDT 2011


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

Lukáš Fryč commented on RF-11074:
---------------------------------

Hi John, could you please point me to the online example which does say it should work? We may need to fix it before ontyperejected will be implemented.

> 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
>             Fix For: 4.Future
>
>
> 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