[jboss-user] [JBoss Portal] - Re: wsrp and remote resources
karink
do-not-reply at jboss.com
Thu Mar 1 04:01:32 EST 2007
Hi
coded it with PortletURL
| PortletURL url = response.createRenderURL();
| writer.println("<img src=\"" + url.toString()+ "/gif/agif.gif" + "\"/>");
|
When invoking locally, following html code is generated:
| <img src="/portal/auth/portal/default/Unsere%20Seite/aaa?action=2/gif/agif.gif"/>
|
-> not what I expected and definitely wrong
When invoking remote, I got back an exception
java.lang.IllegalArgumentException: wsrp_rewrite?wsrp-urlType=render&wsrp-navigationalState=JBPNS_/wsrp_rewrite/gif/agif.gif does not end with /wsrp_rewrite
| at org.jboss.portal.wsrp.WSRPPortletURL.create(WSRPPortletURL.java:117)
|
Could you give me an sample code.
Regards Karin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024127#4024127
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024127
More information about the jboss-user
mailing list