Author: chris.laprun(a)jboss.com
Date: 2010-10-06 16:06:23 -0400 (Wed, 06 Oct 2010)
New Revision: 4551
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/handlers/MimeResponseHandler.java
Log:
- GTNWSRP-93: partial workaround, there still is issues with resources not passing either
a resource id or url...
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/handlers/MimeResponseHandler.java
===================================================================
---
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/handlers/MimeResponseHandler.java 2010-10-06
18:18:04 UTC (rev 4550)
+++
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/handlers/MimeResponseHandler.java 2010-10-06
20:06:23 UTC (rev 4551)
@@ -213,6 +213,9 @@
public String getReplacementFor(String match, String prefix, String suffix)
{
+ // work around for GTNWSRP-93:
+ match = match.replaceAll("\\\\x2D",
"-").replaceAll("\\\\x26", "&");
+
WSRPPortletURL portletURL = WSRPPortletURL.create(match, supportedCustomModes,
supportedCustomWindowStates, true);
return context.renderURL(portletURL, format);
}
Show replies by date