portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r1651274 - /portals/jetspeed-2/portal/branches/JETSPEED-BRANCH-2.2.2-POST-RELEASE/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/FileServerValve.java
Date Tue, 13 Jan 2015 04:07:57 GMT
Author: taylor
Date: Tue Jan 13 04:07:57 2015
New Revision: 1651274

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

Modified:
    portals/jetspeed-2/portal/branches/JETSPEED-BRANCH-2.2.2-POST-RELEASE/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/FileServerValve.java

Modified: portals/jetspeed-2/portal/branches/JETSPEED-BRANCH-2.2.2-POST-RELEASE/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/FileServerValve.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JETSPEED-BRANCH-2.2.2-POST-RELEASE/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/FileServerValve.java?rev=1651274&r1=1651273&r2=1651274&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JETSPEED-BRANCH-2.2.2-POST-RELEASE/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/FileServerValve.java
(original)
+++ portals/jetspeed-2/portal/branches/JETSPEED-BRANCH-2.2.2-POST-RELEASE/components/jetspeed-portal/src/main/java/org/apache/jetspeed/aggregator/FileServerValve.java
Tue Jan 13 04:07:57 2015
@@ -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