You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by js...@apache.org on 2002/08/15 18:39:34 UTC

cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/impl StaticTagScript.java

jstrachan    2002/08/15 09:39:34

  Modified:    jelly/src/java/org/apache/commons/jelly/impl
                        StaticTagScript.java
  Log:
  Patch for bug 
  
  http://jira.werken.com:8181/ViewIssue.jspa?key=JELLY-3
  
  Revision  Changes    Path
  1.6       +4 -8      jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/impl/StaticTagScript.java
  
  Index: StaticTagScript.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/impl/StaticTagScript.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- StaticTagScript.java	9 Aug 2002 17:26:40 -0000	1.5
  +++ StaticTagScript.java	15 Aug 2002 16:39:34 -0000	1.6
  @@ -92,8 +92,6 @@
       /** The Log to which logging calls will be made. */
       private static final Log log = LogFactory.getLog(StaticTagScript.class);
   
  -    private boolean firstRun = true;
  -    
       public StaticTagScript() {
       }
   
  @@ -110,12 +108,10 @@
           startNamespacePrefixes(output);
               
           Tag tag = getTag();                
  -        if ( firstRun ) {
  -            firstRun = false;
  -            
  -            // lets see if we have a dynamic tag
  -            tag = findDynamicTag(context, (StaticTag) tag);
  -        }
  +        
  +        // lets see if we have a dynamic tag
  +        tag = findDynamicTag(context, (StaticTag) tag);
  +        
           try {        
               if ( tag == null ) {
                   return;
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>