In a RichFaces portlet, when a rich:fileUpload is submitted (i.e. files are uploaded), the action of the form is not preserved well.
The form is broken after rich:fileUpload with immediateUpload="true" is submitted because the richfaces packed.js richfaces.ui.FileUpload.prototype submit function manipulates the form action without restoring the original action.
Using a separate form is not an option for us, since we heavily rely on a facelet template which already defines a form.
- Red Hat JBoss Portal (JPP)
- JBoss Web Frameworks Kit (WFK)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.