portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r1651273 - /portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/FileServerValve.java
Date Tue, 13 Jan 2015 04:04:37 GMT
Author: taylor
Date: Tue Jan 13 04:04:37 2015
New Revision: 1651273

URL: http://svn.apache.org/r1651273
Log:
JS2-1268: fixing broken PDF Portlet to work with APA Gems

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

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/FileServerValve.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/FileServerValve.java?rev=1651273&r1=1651272&r2=1651273&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/FileServerValve.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/FileServerValve.java
Tue Jan 13 04:04:37 2015
@@ -32,7 +32,7 @@ public class FileServerValve extends Abs
 {
     private String portletName;
     private String portletEntity;
-    
+
     public FileServerValve(String portletName, String portletEntity)
     {
         this.portletName = portletName;
@@ -62,7 +62,8 @@ public class FileServerValve extends Abs
             if (name == null)
             {
                 request.setAttribute(PortalReservedParameters.PORTLET, portletName);
-            }        
+            }
+            request.setAttribute(PortalReservedParameters.PATH_ATTRIBUTE, request.getPortalURL().getPath());
         }
         catch (Exception e)
         {



---------------------------------------------------------------------
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