commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly JellyContext.java
Date Mon, 03 Feb 2003 22:05:24 GMT
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


Mime
View raw message