Author: taylor
Date: Tue Feb 27 00:09:32 2007
New Revision: 512170
URL: http://svn.apache.org/viewvc?view=rev&rev=512170
Log:
bugfix: provide profiled path to /desktop
Modified:
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/ajax-xml/psml.vm
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/Constants.java
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetPageAction.java
Modified:
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/ajax-xml/psml.vm
URL:
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/ajax-xml/psml.vm?view=diff&rev=512170&r1=512169&r2=512170
==============================================================================
---
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/ajax-xml/psml.vm
(original)
+++
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/ajax-xml/psml.vm
Tue Feb 27 00:09:32 2007
@@ -49,6 +49,7 @@
/>
<name>$page.Name</name>
<path>$page.Path</path>
+ <profiledPath>$profiledPath</profiledPath>
<title>$esc.xml($!page.Title)</title>
<short-title>$esc.xml($!page.ShortTitle)</short-title>
#foreach ($meta in $page.Metadata.Fields)
Modified:
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/Constants.java
URL:
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/Constants.java?view=diff&rev=512170&r1=512169&r2=512170
==============================================================================
---
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/Constants.java
(original)
+++
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/Constants.java
Tue Feb 27 00:09:32 2007
@@ -59,6 +59,7 @@
public static final String PORTLETS = "portlets";
public static final String PAGES = "pages";
public static final String PAGE = "page";
+ public static final String PROFILED_PATH = "profiledPath";
public static final String FOLDER = "folder";
public static final String FOLDERS = "folders";
public static final String SIZES = "sizes";
Modified:
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetPageAction.java
URL:
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetPageAction.java?view=diff&rev=512170&r1=512169&r2=512170
==============================================================================
---
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetPageAction.java
(original)
+++
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetPageAction.java
Tue Feb 27 00:09:32 2007
@@ -93,6 +93,7 @@
}
resultMap.put(STATUS, status);
resultMap.put(PAGE, page);
+ resultMap.put(PROFILED_PATH, requestContext.getPath());
putSecurityInformation(resultMap, page);
String fragments = getActionParameter(requestContext, FRAGMENTS);
if (fragments == null)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]