jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/fmt MessageSupport.java
Date Sat, 06 Apr 2002 21:17:16 GMT
luehe       02/04/06 13:17:16

  Modified:    standard/src/org/apache/taglibs/standard/tag/common/fmt
                        MessageSupport.java
  Log:
  Moved invocation-specific initialization from init() method to doStartTag()
  
  Revision  Changes    Path
  1.12      +5 -1      jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/fmt/MessageSupport.java
  
  Index: MessageSupport.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/fmt/MessageSupport.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- MessageSupport.java	4 Apr 2002 18:06:03 -0000	1.11
  +++ MessageSupport.java	6 Apr 2002 21:17:15 -0000	1.12
  @@ -107,7 +107,6 @@
   	key = var = null;
   	bundle = null;
   	scope = PageContext.PAGE_SCOPE;
  -	params.clear();
       }
   
   
  @@ -138,6 +137,11 @@
   
       //*********************************************************************
       // Tag logic
  +
  +    public int doStartTag() throws JspException {
  +	params.clear();
  +	return EVAL_BODY_BUFFERED;
  +    }
   
       public int doEndTag() throws JspException {
   	if (key == null) {
  
  
  

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


Mime
View raw message