commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly JellyContext.java
Date Fri, 05 Jul 2002 11:29:25 GMT
jstrachan    2002/07/05 04:29:24

  Modified:    jelly/src/java/org/apache/commons/jelly JellyContext.java
  Log:
  Added an extra constructor so child contexts can be easily created using another URI root
for relative URIs
  
  Revision  Changes    Path
  1.14      +5 -0      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.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- JellyContext.java	18 Jun 2002 18:36:42 -0000	1.13
  +++ JellyContext.java	5 Jul 2002 11:29:23 -0000	1.14
  @@ -148,6 +148,11 @@
           this.currentURL = currentURL;
       }
   
  +    public JellyContext(JellyContext parentJellyContext, URL rootURL, URL currentURL) {
  +        this(parentJellyContext, currentURL);
  +        this.rootURL = rootURL;
  +    }
  +
       private void init() {
           variables.put("context", this);
           variables.put("systemScope", System.getProperties());
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message