Author: chris.laprun(a)jboss.com
Date: 2010-10-20 20:29:59 -0400 (Wed, 20 Oct 2010)
New Revision: 4752
Modified:
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/producer/handlers/processors/MimeResponseProcessor.java
Log:
- Oops, tired! We need to only process the string if it's NOT null or empty.
Modified:
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/producer/handlers/processors/MimeResponseProcessor.java
===================================================================
---
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/producer/handlers/processors/MimeResponseProcessor.java 2010-10-21
00:25:28 UTC (rev 4751)
+++
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/producer/handlers/processors/MimeResponseProcessor.java 2010-10-21
00:29:59 UTC (rev 4752)
@@ -62,7 +62,7 @@
*/
protected String processFragmentString(String renderString)
{
- if (ParameterValidation.isNullOrEmpty(renderString))
+ if (!ParameterValidation.isNullOrEmpty(renderString))
{
return URLTools.replaceURLsBy(renderString, new
WSRPUtils.AbsoluteURLReplacementGenerator(ServletAccess.getRequest()));
}
Show replies by date