Author: chris.laprun(a)jboss.com
Date: 2008-07-10 12:51:47 -0400 (Thu, 10 Jul 2008)
New Revision: 11409
Modified:
branches/JBoss_Portal_Branch_2_7/wsrp/src/main/org/jboss/portal/wsrp/producer/RenderRequestProcessor.java
Log:
- JBPORTAL-2067: retrieve the HttpServletRequest properly.
Modified:
branches/JBoss_Portal_Branch_2_7/wsrp/src/main/org/jboss/portal/wsrp/producer/RenderRequestProcessor.java
===================================================================
---
branches/JBoss_Portal_Branch_2_7/wsrp/src/main/org/jboss/portal/wsrp/producer/RenderRequestProcessor.java 2008-07-10
12:57:52 UTC (rev 11408)
+++
branches/JBoss_Portal_Branch_2_7/wsrp/src/main/org/jboss/portal/wsrp/producer/RenderRequestProcessor.java 2008-07-10
16:51:47 UTC (rev 11409)
@@ -49,6 +49,7 @@
import org.jboss.portal.wsrp.core.UnsupportedMimeTypeFault;
import org.jboss.portal.wsrp.core.UnsupportedModeFault;
import org.jboss.portal.wsrp.core.UnsupportedWindowStateFault;
+import org.jboss.portal.wsrp.servlet.ServletAccess;
/**
* @author <a href="mailto:chris.laprun@jboss.com">Chris
Laprun</a>
@@ -173,7 +174,7 @@
PortletUtils.SUFFIX,
WSRPRewritingConstants.WSRP_REWRITE_TOKEN);
- result = URLTools.replaceURLsBy(result, new
AbsoluteURLReplacementGenerator(invocation.getDispatchedRequest()));
+ result = URLTools.replaceURLsBy(result, new
AbsoluteURLReplacementGenerator(ServletAccess.getRequest()));
return result;
}
}
Show replies by date