[gatein-issues] [JBoss JIRA] Created: (GTNPORTAL-1709) Screen refreshes and resource handling when using the richfaces demo over wsrp

Matt Wringe (JIRA) jira-events at lists.jboss.org
Tue Nov 30 23:05:04 EST 2010


Screen refreshes and resource handling when using the richfaces demo over wsrp
------------------------------------------------------------------------------

                 Key: GTNPORTAL-1709
                 URL: https://jira.jboss.org/browse/GTNPORTAL-1709
             Project: GateIn Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: WSRP integration
            Reporter: Matt Wringe
            Assignee: Chris Laprun


When using the richfaces demo over wsrp, the page will sometimes refresh instead of updating the ajax content. This can be seen in the calender example when trying to click on a date in the organizer creation tab. This is due to the portal not properly receiving a resource request and it default to a render request.

The base of this problem seems to be with how we deal with urls and in particular urls with & in them instead of just &.

For the page refresh, what is happening here is that the QueryStringParser from the common module expects query strings to contain & and not & It uses this token to break apart the properties and in this case it does not receive the correct property to do a resource fetch and instead defaults to a render request.

If we replace the & with & before calling the QueryStringParser then we can get the page to do a resource request, but we run into a similar problem, we now receive amp;portal-resourceId instead of portal-resourceId and we can't properly decode the resource url.

Note that this does not happen all the time, many other wsrp resource requests (even through the bridge) work properly, there is something occurring in some situations where this occurs. I am not sure if we are just not encoding the url properly at some point, or if the bridge is manipulating the url in a manner which is causing this.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list