[jboss-user] [JBoss Portal] - Re: JBoss Portal WSRP <-> Sharepoint interoperability
do-not-reply at jboss.com
Mon Jan 19 14:16:33 EST 2009
We finally found the error.
If you look at the following URL, you'll find it contains a small mistake:
| ?WSRPProducer=Application WSRP producer&WSRPPortletHandle=/Application.InboxPortlet&WSRPPortletState=&WSRPRegistrationHandle=11&WSRPRegistrationState=&WSRPMode=wsrp:view&WSRPWindowState=wsrp:normal&WSRPQualifiedName=g_9bcea8ab_df1d_4ced_b0f1_453faf9f2c10&WSRPIsAnonymous=False&WSRPAction=wsrp%5Frewrite%3Fwsrp%2DurlType%3DblockingAction%26amp%3Bwsrp%2DinteractionState%3DJBPNS%
It contains "%26amp%3B" which is an encoded "&". This happend because when you obtain the render/action url from the PortletResponse, JBoss returns:
I don't quite understand why the url obtained from the PortletResponse contains an URL that has already escaped the "&", but undoing this escaping by replacing the "&" with just "&" solves the problem.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203003#4203003
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203003
More information about the jboss-user