weaver 2004/01/12 10:19:11
Modified: cps/src/java/org/apache/jetspeed/cps/template Template.java
Log:
Template now supports and application relative path that can be used
effectively with Servlet and Portlet request dispatchers
Revision Changes Path
1.2 +11 -1
jakarta-jetspeed-2/cps/src/java/org/apache/jetspeed/cps/template/Template.java
Index: Template.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/cps/src/java/org/apache/jetspeed/cps/template/Template.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Template.java 28 Jul 2003 23:46:43 -0000 1.1
+++ Template.java 12 Jan 2004 18:19:11 -0000 1.2
@@ -75,4 +75,14 @@
*/
void setAbsolutePath(String path);
+ /**
+ * Returns the template path relative to the applications root
+ * @return Application-relative path
+ */
+ public String getAppRelativePath();
+ /**
+ * Sets the template path relative to the applications root
+ * @param string Application-relative path
+ */
+ public void setAppRelativePath(String string);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]