]
Nick Belaevski resolved RF-4187.
--------------------------------
Resolution: Done
Assignee: (was: Nick Belaevski)
Update all .jars (RF/JPB) in portal so that they have the same version, remove scripts
duplication and this will work for you.
rich:fileUpload to support portal environment
---------------------------------------------
Key: RF-4187
URL:
https://jira.jboss.org/jira/browse/RF-4187
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: JBoss Portal 2.6.5, JBoss AS 4.2.2, PortletBridge 1.0.0.B3, Seam
2.0.2.SP1, JSF RI 1.2, Facelets 1.1.14
Reporter: egor kolesnikov
Fix For: 3.3.1
Attachments: fileUploadPortlalIE8Problem2.png, testportletbridge.war.tar.gz
FileUpload.js' submitForm() method rewrites form action url, violating the JSR-168
specification.
parentForm.action = this.actionUrl + (/\?/.test(this.actionUrl) ?
'&_richfaces_upload_uid' : '?_richfaces_upload_uid') + '=' +
encodeURI(entry.uid) + "&id=" + this.id +
"&_richfaces_upload_file_indicator=true";
Evaluation of this expression leads to Servlet URL, not Portlet Action URL which
expected.
Possible solution would be initializing "this.actionUrl" to
"parentForm.action" value.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: