weaver 2004/01/12 10:19:25
Modified: cps/src/java/org/apache/jetspeed/cps/template
TemplateImpl.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 +20 -1
jakarta-jetspeed-2/cps/src/java/org/apache/jetspeed/cps/template/TemplateImpl.java
Index: TemplateImpl.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/cps/src/java/org/apache/jetspeed/cps/template/TemplateImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TemplateImpl.java 28 Jul 2003 23:46:43 -0000 1.1
+++ TemplateImpl.java 12 Jan 2004 18:19:25 -0000 1.2
@@ -62,6 +62,7 @@
public class TemplateImpl extends TemplateLocatorImpl implements Template
{
String absolutePath;
+ String appRelativePath;
public TemplateImpl()
{
@@ -93,6 +94,8 @@
this.absolutePath = path;
}
+
+
/**
* @see Object#clone
* @return an instance copy of this object
@@ -102,4 +105,20 @@
return super.clone();
}
+ /**
+ * @return
+ */
+ public String getAppRelativePath()
+ {
+ return appRelativePath;
+ }
+
+ /**
+ * @param string
+ */
+ public void setAppRelativePath(String string)
+ {
+ appRelativePath = string;
+ }
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]