portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1023166 - /portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/resource/ResourceValveImpl.java
Date Sat, 16 Oct 2010 02:04:12 GMT
Author: ate
Date: Sat Oct 16 02:04:12 2010
New Revision: 1023166

URL: http://svn.apache.org/viewvc?rev=1023166&view=rev
Log:
JS2-1222: reverting back, the cause was not in the ResourceValveImpl and the original logic
was correct (and required).

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/resource/ResourceValveImpl.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/resource/ResourceValveImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/resource/ResourceValveImpl.java?rev=1023166&r1=1023165&r2=1023166&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/resource/ResourceValveImpl.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/resource/ResourceValveImpl.java
Sat Oct 16 02:04:12 2010
@@ -59,9 +59,9 @@ public class ResourceValveImpl extends A
             {            
                 HttpServletRequest servletRequest = request.getRequest();
                 HttpServletResponse servletResponse = request.getResponse();
+                resourceWindow.setAttribute(PortalReservedParameters.PORTLET_CONTAINER_INVOKER_USE_FORWARD,
Boolean.TRUE);
                 if (resourceWindow.getPortletDefinition().getApplication().getVersion().equals("1.0"))
                 {
-                    resourceWindow.setAttribute(PortalReservedParameters.PORTLET_CONTAINER_INVOKER_USE_FORWARD,
Boolean.TRUE);
                     container.doRender(resourceWindow, servletRequest, servletResponse);
                 }
                 else



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message