You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/01/27 01:05:11 UTC
svn commit: r126562 - /lenya/trunk/src/webapp/lenya/content/rc/view.xsp
Author: gregor
Date: Wed Jan 26 16:05:08 2005
New Revision: 126562
URL: http://svn.apache.org/viewcvs?view=rev&rev=126562
Log:
Changed revision controller view to no longer access a static member of Publication. This resolves http://issues.apache.org/bugzilla/show_bug.cgi?id=33225
Modified:
lenya/trunk/src/webapp/lenya/content/rc/view.xsp
Modified: lenya/trunk/src/webapp/lenya/content/rc/view.xsp
Url: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/content/rc/view.xsp?view=diff&rev=126562&p1=lenya/trunk/src/webapp/lenya/content/rc/view.xsp&r1=126561&p2=lenya/trunk/src/webapp/lenya/content/rc/view.xsp&r2=126562
==============================================================================
--- lenya/trunk/src/webapp/lenya/content/rc/view.xsp (original)
+++ lenya/trunk/src/webapp/lenya/content/rc/view.xsp Wed Jan 26 16:05:08 2005
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!-- $Id: view.xsp,v 1.13 2004/03/24 13:19:04 edith Exp $ -->
+<!-- $Id$ -->
<xsp:page
language="java"
@@ -40,7 +40,7 @@
String rootDir=publication.getEnvironment().getPublicationPath();
String servletContextPath = publication.getServletContext().getCanonicalPath();
- String contextPath = publication.CONTENT_PATH;
+ String contextPath = "content";
String area = <input:get-attribute module="page-envelope" as="string" name="area"/>;
String documentPath = <input:get-attribute module="page-envelope" as="string" name="document-path"/>;
String filename = "/" + contextPath + "/" + area + "/" + documentPath;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org