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 Tue, 27 Aug 2002 07:45:45 GMT
jstrachan    2002/08/27 00:45:45

  Modified:    jelly/src/java/org/apache/commons/jelly JellyContext.java
  Log:
  Applied Stephen Haberman's patch for the perclation of tag library registrations up the
context hierarchy
  
  Revision  Changes    Path
  1.25      +4 -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.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- JellyContext.java	23 Aug 2002 10:29:18 -0000	1.24
  +++ JellyContext.java	27 Aug 2002 07:45:45 -0000	1.25
  @@ -333,6 +333,10 @@
               log.debug("Registering tag library to: " + namespaceURI + " taglib: " + taglib);
           }
           taglibs.put(namespaceURI, taglib);
  +        
  +        if (isExportLibraries() && parent != null) {
  +            parent.registerTagLibrary( namespaceURI, taglib );
  +        }
       }
   
       /** Registers the given tag library class name against the given namespace URI.
  
  
  

--
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