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/tags/define DefineScriptTag.java DefineTagLibrary.java
Date Fri, 26 Apr 2002 10:00:50 GMT
jstrachan    02/04/26 03:00:50

  Modified:    jelly/src/java/org/apache/commons/jelly/tags/define
                        DefineScriptTag.java DefineTagLibrary.java
  Log:
  Patched typeo in the <define:script> tag
  
  Revision  Changes    Path
  1.2       +4 -4      jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/define/DefineScriptTag.java
  
  Index: DefineScriptTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/define/DefineScriptTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefineScriptTag.java	26 Apr 2002 07:56:10 -0000	1.1
  +++ DefineScriptTag.java	26 Apr 2002 10:00:49 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/define/DefineScriptTag.java,v
1.1 2002/04/26 07:56:10 jstrachan Exp $
  - * $Revision: 1.1 $
  - * $Date: 2002/04/26 07:56:10 $
  + * $Header: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/define/DefineScriptTag.java,v
1.2 2002/04/26 10:00:49 jstrachan Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/26 10:00:49 $
    *
    * ====================================================================
    *
  @@ -57,7 +57,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    * 
  - * $Id: DefineScriptTag.java,v 1.1 2002/04/26 07:56:10 jstrachan Exp $
  + * $Id: DefineScriptTag.java,v 1.2 2002/04/26 10:00:49 jstrachan Exp $
    */
   package org.apache.commons.jelly.tags.define;
   
  @@ -72,7 +72,7 @@
    * maybe from inside Jexl.</p>
    *
    * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    */
   public class DefineScriptTag extends TagSupport {
       
  @@ -87,7 +87,7 @@
           if ( var == null ) {
               throw new JellyException( "<define:script> must have a var attribute"
);
           }
  -        context.setVariable( var, getbody() );
  +        context.setVariable( var, getBody() );
       }    
       
       // Properties
  
  
  
  1.2       +6 -5      jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/define/DefineTagLibrary.java
  
  Index: DefineTagLibrary.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/define/DefineTagLibrary.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefineTagLibrary.java	25 Apr 2002 18:14:09 -0000	1.1
  +++ DefineTagLibrary.java	26 Apr 2002 10:00:50 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/define/DefineTagLibrary.java,v
1.1 2002/04/25 18:14:09 jstrachan Exp $
  - * $Revision: 1.1 $
  - * $Date: 2002/04/25 18:14:09 $
  + * $Header: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/define/DefineTagLibrary.java,v
1.2 2002/04/26 10:00:50 jstrachan Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/26 10:00:50 $
    *
    * ====================================================================
    *
  @@ -57,7 +57,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    * 
  - * $Id: DefineTagLibrary.java,v 1.1 2002/04/25 18:14:09 jstrachan Exp $
  + * $Id: DefineTagLibrary.java,v 1.2 2002/04/26 10:00:50 jstrachan Exp $
    */
   package org.apache.commons.jelly.tags.define;
   
  @@ -67,7 +67,7 @@
   /** Describes the Taglib. This class could be generated by XDoclet
     *
     * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
  -  * @version $Revision: 1.1 $
  +  * @version $Revision: 1.2 $
     */
   public class DefineTagLibrary extends TagLibrary {
   
  @@ -75,5 +75,6 @@
           registerTag( "taglib", DefineTagLibTag.class );
           registerTag( "tag", DefineTagTag.class );
           registerTag( "invokeBody", InvokeBodyTag.class );
  +        registerTag( "script", DefineScriptTag.class );
       }
   }
  
  
  

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