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/impl TagScript.java
Date Mon, 19 Aug 2002 21:38:09 GMT
jstrachan    2002/08/19 14:38:09

  Modified:    jelly/src/java/org/apache/commons/jelly/impl TagScript.java
  Log:
  Patched minor bug that dynamic tags would often not be on the parent hierarchy
  
  Revision  Changes    Path
  1.19      +13 -5     jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/impl/TagScript.java
  
  Index: TagScript.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/impl/TagScript.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- TagScript.java	12 Aug 2002 19:11:46 -0000	1.18
  +++ TagScript.java	19 Aug 2002 21:38:09 -0000	1.19
  @@ -366,6 +366,14 @@
           tagHolder.set(null);
       }
       
  +    /** 
  +     * Allows the script to set the tag instance to be used, such as in a StaticTagScript
  +     * when a StaticTag is switched with a DynamicTag
  +     */
  +    protected void setTag(Tag tag) {
  +        tagHolder.set(tag);
  +    }
  +
       /**
        * Output the new namespace prefixes used for this element
        */    
  
  
  

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