[richfaces-issues] [JBoss JIRA] Commented: (RF-4187) rich:fileUpload to support portal environment

Daniel Ku (JIRA) jira-events at lists.jboss.org
Sat Feb 14 09:19:44 EST 2009


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

Daniel Ku commented on RF-4187:
-------------------------------

Issue from SWFObject library used by ui.pack.js (fileupload.js) can be found here:
http://code.google.com/p/swfobject/issues/detail?id=258

Perhaps upgrading to version 2.2 or a check if J.parentNode is null, should solve the IE7 error.

> 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
>            Assignee: Nick Belaevski
>             Fix For: 3.3.1
>
>         Attachments: 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list