You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by jv...@apache.org on 2003/02/03 23:05:24 UTC
cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly JellyContext.java
jvanzyl 2003/02/03 14:05:24
Modified: jelly/src/java/org/apache/commons/jelly JellyContext.java
Log:
o Adding a patch by Matthew McGowan that allows child context to be
created correctly when subclasses of JellyContext are used which is
the case in Maven.
Revision Changes Path
1.41 +3 -1 jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/JellyContext.java
Index: JellyContext.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/JellyContext.java,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- JellyContext.java 24 Jan 2003 05:54:37 -0000 1.40
+++ JellyContext.java 3 Feb 2003 22:05:23 -0000 1.41
@@ -603,7 +603,9 @@
throw new JellyException(e.toString());
}
- JellyContext newJellyContext = new JellyContext(this, newJellyContextURL);
+ JellyContext newJellyContext = newJellyContext();
+ newJellyContext.setRootURL( newJellyContextURL );
+ newJellyContext.setCurrentURL( newJellyContextURL );
newJellyContext.setExport( export );
newJellyContext.setInherit( inherit );
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org