[richfaces-issues] [JBoss JIRA] Updated: (RF-10635) rich:fileUpload submitForm() function affects main window

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Mon Feb 28 07:31:06 EST 2011


     [ https://issues.jboss.org/browse/RF-10635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski updated RF-10635:
--------------------------------

         Assignee: Nick Belaevski
    Fix Version/s: 3.Future


> rich:fileUpload submitForm() function affects main window
> ---------------------------------------------------------
>
>                 Key: RF-10635
>                 URL: https://issues.jboss.org/browse/RF-10635
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: kevin 2
>            Assignee: Nick Belaevski
>              Labels: fileupload
>             Fix For: 3.Future
>
>
> When using submitForm() on a button to upload a file the window URL is changed so when uploading a too large file the result is a blank page. 
> Therefore, when refreshing the page, the form is submitted again.
> Here is the code used for the button which is in the same form than the rich:fileUpload component:
> {code:xml} 
> <a4j:commandButton  id="uploadFormButton"
>                     value="Validate"
>                     onclick="#{rich:component('fileUploadId')}.submitForm();"/>
> {code}

--
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