[gatein-issues] [JBoss JIRA] Commented: (GTNWSRP-93) Richfaces portlet over WSRP2 - problem with URL type

Alexander Smirnov (JIRA) jira-events at lists.jboss.org
Wed Oct 6 13:39:40 EDT 2010


    [ https://jira.jboss.org/browse/GTNWSRP-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555686#action_12555686 ] 

Alexander Smirnov commented on GTNWSRP-93:
------------------------------------------

I already got this problem too. It lies behind WSRP spec: On the producer side, portal generates special placeholder for url's which should be replaced by consumer with real value. Spec only cares about HTML links, therefore it expected URL encoding for these placeholdes.
on the other hand, RichFaces puts AJAX URL into JavaScript parameter, therefore it encoded as JavaScript String literal that is different with URL encoding.
Unfortunately, making RichFaces compatible with WSRP requires significant changes in both client and server code. RF 3.x in maintenance mode now, so I doubt what I can encourage team to do this job.
I'm going to make Bridge 3.0/JSF 2.0 compatible with WSRP 2 requirements.

> Richfaces portlet over WSRP2 - problem with URL type
> ----------------------------------------------------
>
>                 Key: GTNWSRP-93
>                 URL: https://jira.jboss.org/browse/GTNWSRP-93
>             Project: GateIn WSRP
>          Issue Type: Bug
>          Components: Consumer
>    Affects Versions: 2.0.0-Alpha03
>            Reporter: Michal Vanco
>            Assignee: Chris Laprun
>             Fix For: 2.0.0-Beta
>
>         Attachments: richfaces_app-log.txt, tictactoe-portlet.war
>
>
> I have a sample portets (with JSF + richfaces) and when I'm trying to put them on page (using wsrp2 consumer), I get an error - attached.
> java.lang.IllegalArgumentException: wsrp\x2DurlType=resource\x26wsrp\x2Dmode=wsrp:view\x26wsrp\x2DwindowState=wsrp:normal\x26wsrp\x2DrequiresRewrite=false\x26wsrp\x2DresourceID=/faces/pages/netflix.xhtml does not specify a URL type.
> Sample wars to verify are attached as well.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list