jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gl...@apache.org
Subject cvs commit: jakarta-taglibs/datetime/src/org/apache/taglibs/datetime AmPmsTag.java ErasTag.java FormatTag.java MonthsTag.java ParseTag.java TimeZonesTag.java WeekdaysTag.java
Date Sun, 08 Jul 2001 02:31:59 GMT
glenn       01/07/07 19:31:59

  Modified:    datetime/src/org/apache/taglibs/datetime AmPmsTag.java
                        ErasTag.java FormatTag.java MonthsTag.java
                        ParseTag.java TimeZonesTag.java WeekdaysTag.java
  Log:
  Make sure tags comply with Shawn's guidelines
  
  Revision  Changes    Path
  1.4       +12 -19    jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/AmPmsTag.java
  
  Index: AmPmsTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/AmPmsTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AmPmsTag.java	2001/07/07 20:42:27	1.3
  +++ AmPmsTag.java	2001/07/08 02:31:56	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/AmPmsTag.java,v
1.3 2001/07/07 20:42:27 glenn Exp $
  - * $Revision: 1.3 $
  - * $Date: 2001/07/07 20:42:27 $
  + * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/AmPmsTag.java,v
1.4 2001/07/08 02:31:56 glenn Exp $
  + * $Revision: 1.4 $
  + * $Date: 2001/07/08 02:31:56 $
    *
    * ====================================================================
    *
  @@ -105,7 +105,7 @@
   
   public class AmPmsTag extends BodyTagSupport
   {
  -    private Locale locale = null;
  +    private boolean locale_flag = false;
       private String [] amPms = null;
       private int count = 0;
   
  @@ -119,10 +119,11 @@
           SimpleDateFormat sdf;
   	String pattern = "yyyy";
           // Get a SimpleDateFormat using locale if necessary
  -        if( locale == null )
  +        if( !locale_flag )
               sdf = new SimpleDateFormat(pattern);
           else
  -            sdf = new SimpleDateFormat(pattern,locale);
  +            sdf = new SimpleDateFormat(pattern,
  +                      (Locale)pageContext.getRequest().getLocale());
   
   	DateFormatSymbols dfs = sdf.getDateFormatSymbols();
   	amPms = dfs.getAmPmStrings();
  @@ -133,7 +134,7 @@
           if( count >= amPms.length )
               return SKIP_BODY;
   
  -	pageContext.setAttribute(id,this,PageContext.PAGE_SCOPE);
  +        pageContext.setAttribute(id,this,PageContext.PAGE_SCOPE);
   	return EVAL_BODY_TAG;
       }
   
  @@ -166,6 +167,7 @@
        */
       public final int doEndTag() throws JspException
       {
  +        pageContext.removeAttribute(id,PageContext.PAGE_SCOPE);
   	try
   	{
   	    if(bodyContent != null)
  @@ -181,12 +183,11 @@
        * Locale flag, if set to true, use am/pm names
        * for client's preferred locale if known.
        *
  -     * @param String either <b>true</b> or <b>false</b>
  +     * @param boolean eithier <b>true</b> or <b>false</b>
        */
  -    public final void setLocale(String str)
  +    public final void setLocale(boolean flag)
       {
  -	if( str.equals("true") )
  -	    locale = pageContext.getRequest().getLocale();
  +        locale_flag = flag;
       }
   
       /**
  @@ -201,12 +202,4 @@
           return amPms[count];
       }
   
  -    /**
  -     * Remove the script variable after amPms tag closed out
  -     */
  -    public final void release()
  -    {
  -	if( id != null && id.length() > 0 )
  -	    pageContext.removeAttribute(id,PageContext.PAGE_SCOPE);
  -    }
   }
  
  
  
  1.3       +12 -19    jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/ErasTag.java
  
  Index: ErasTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/ErasTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ErasTag.java	2000/11/06 01:19:00	1.2
  +++ ErasTag.java	2001/07/08 02:31:56	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/ErasTag.java,v
1.2 2000/11/06 01:19:00 glenn Exp $
  - * $Revision: 1.2 $
  - * $Date: 2000/11/06 01:19:00 $
  + * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/ErasTag.java,v
1.3 2001/07/08 02:31:56 glenn Exp $
  + * $Revision: 1.3 $
  + * $Date: 2001/07/08 02:31:56 $
    *
    * ====================================================================
    *
  @@ -105,7 +105,7 @@
   
   public class ErasTag extends BodyTagSupport
   {
  -    private Locale locale = null;
  +    private boolean locale_flag = false;
       private String [] eras = null;
       private int count = 0;
   
  @@ -119,10 +119,11 @@
           SimpleDateFormat sdf;
   	String pattern = "yyyy";
           // Get a SimpleDateFormat using locale if necessary
  -        if( locale == null )
  +        if( !locale_flag )
               sdf = new SimpleDateFormat(pattern);
           else
  -            sdf = new SimpleDateFormat(pattern,locale);
  +            sdf = new SimpleDateFormat(pattern,
  +                      (Locale)pageContext.getRequest().getLocale());
   
   	DateFormatSymbols dfs = sdf.getDateFormatSymbols();
   	eras = dfs.getEras();
  @@ -133,7 +134,7 @@
           if( count >= eras.length )
               return SKIP_BODY;
   
  -	pageContext.setAttribute(id,this,PageContext.PAGE_SCOPE);
  +        pageContext.setAttribute(id,this,PageContext.PAGE_SCOPE);
   	return EVAL_BODY_TAG;
       }
   
  @@ -166,6 +167,7 @@
        */
       public final int doEndTag() throws JspException
       {
  +        pageContext.removeAttribute(id,PageContext.PAGE_SCOPE);
   	try
   	{
   	    if(bodyContent != null)
  @@ -181,12 +183,11 @@
        * Locale flag, if set to true, use era names
        * for client's preferred locale if known.
        *
  -     * @param String either <b>true</b> or <b>false</b>
  +     * @param boolean either <b>true</b> or <b>false</b>
        */
  -    public final void setLocale(String str)
  +    public final void setLocale(boolean flag)
       {
  -	if( str.equals("true") )
  -	    locale = pageContext.getRequest().getLocale();
  +        locale_flag = flag;
       }
   
       /**
  @@ -201,12 +202,4 @@
           return eras[count];
       }
   
  -    /**
  -     * Remove the script variable after eras tag closed out
  -     */
  -    public final void release()
  -    {
  -	if( id != null && id.length() > 0 )
  -	    pageContext.removeAttribute(id,PageContext.PAGE_SCOPE);
  -    }
   }
  
  
  
  1.6       +24 -15    jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/FormatTag.java
  
  Index: FormatTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/FormatTag.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- FormatTag.java	2001/07/07 20:42:29	1.5
  +++ FormatTag.java	2001/07/08 02:31:57	1.6
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/FormatTag.java,v
1.5 2001/07/07 20:42:29 glenn Exp $
  - * $Revision: 1.5 $
  - * $Date: 2001/07/07 20:42:29 $
  + * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/FormatTag.java,v
1.6 2001/07/08 02:31:57 glenn Exp $
  + * $Revision: 1.6 $
  + * $Date: 2001/07/08 02:31:57 $
    *
    * ====================================================================
    *
  @@ -132,10 +132,11 @@
   public class FormatTag extends BodyTagSupport
   {
       // Optional attribute, use users locale if known when formatting date
  -    private Locale locale = null;
  +    private boolean locale_flag = false;
       // Optional attribute, time pattern string to use when formatting date
       private String pattern = null;
       // Optional attribute, timeZone script variable id to use when formatting date
  +    private String timeZone_string;
       private TimeZone timeZone = null;
       // The date after being formatted for output
       private String date_formatted = null;
  @@ -190,15 +191,25 @@
   	    sdf = new SimpleDateFormat();
   	    pattern = sdf.toPattern();
   	}
  +
   	// Get a SimpleDateFormat using locale if necessary
  -	if( locale == null )
  +	if( !locale_flag )
   	    sdf = new SimpleDateFormat(pattern);
   	else
  -	    sdf = new SimpleDateFormat(pattern,locale);
  +	    sdf = new SimpleDateFormat(pattern,
  +                      (Locale)pageContext.getRequest().getLocale());
   
  -	// See if there is a timeZone
  -	if( timeZone != null )
  -	    sdf.setTimeZone(timeZone);
  +        // See if there is a timeZone
  +        if( timeZone_string != null ) {
  +            timeZone =
  +                (TimeZone)pageContext.getAttribute(timeZone_string,
  +                                                   PageContext.SESSION_SCOPE);
  +            if( timeZone == null )
  +                throw new JspTagException("Datetime format tag timeZone " +
  +                    "script variable \"" + timeZone_string +
  +                    " \" does not exist");
  +            sdf.setTimeZone(timeZone);
  +        }
   
   	// Format the date for display
   	date_formatted = sdf.format(date);
  @@ -225,12 +236,11 @@
        * Locale flag, if set to true, format date
        * for client's preferred locale if known.
        *
  -     * @param String use users locale, true or false
  +     * @param boolean use users locale, true or false
        */
  -    public final void setLocale(String str)
  +    public final void setLocale(boolean flag)
       {
  -	if( str.equals("true") )
  -	    locale = pageContext.getRequest().getLocale();
  +        locale_flag = flag;
       }
   
       /**
  @@ -243,8 +253,7 @@
        */
       public final void setTimeZone(String tz)
       {
  -	timeZone = 
  -	    (TimeZone)pageContext.getAttribute(tz,PageContext.SESSION_SCOPE);
  +	timeZone_string = tz;
       }
   
       /**
  
  
  
  1.3       +11 -18    jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/MonthsTag.java
  
  Index: MonthsTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/MonthsTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MonthsTag.java	2000/11/06 01:19:23	1.2
  +++ MonthsTag.java	2001/07/08 02:31:57	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/MonthsTag.java,v
1.2 2000/11/06 01:19:23 glenn Exp $
  - * $Revision: 1.2 $
  - * $Date: 2000/11/06 01:19:23 $
  + * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/MonthsTag.java,v
1.3 2001/07/08 02:31:57 glenn Exp $
  + * $Revision: 1.3 $
  + * $Date: 2001/07/08 02:31:57 $
    *
    * ====================================================================
    *
  @@ -105,7 +105,7 @@
   
   public class MonthsTag extends BodyTagSupport
   {
  -    private Locale locale = null;
  +    private boolean locale_flag = false;
       private String [] short_months = null;
       private String [] long_months = null;
       private int month = 0;
  @@ -121,10 +121,11 @@
           SimpleDateFormat sdf;
   	String pattern = "yyyy";
           // Get a SimpleDateFormat using locale if necessary
  -        if( locale == null )
  +        if( !locale_flag )
               sdf = new SimpleDateFormat(pattern);
           else
  -            sdf = new SimpleDateFormat(pattern,locale);
  +            sdf = new SimpleDateFormat(pattern,
  +                      (Locale)pageContext.getRequest().getLocale());
   
   	DateFormatSymbols dfs = sdf.getDateFormatSymbols();
   	short_months = dfs.getShortMonths();
  @@ -170,6 +171,7 @@
        */
       public final int doEndTag() throws JspException
       {
  +        pageContext.removeAttribute(id,PageContext.PAGE_SCOPE);
   	try
   	{
   	    if(bodyContent != null)
  @@ -185,12 +187,11 @@
        * Locale flag, if set to true, use month names
        * for client's preferred locale if known.
        *
  -     * @param String either <b>true</b> or <b>false</b>
  +     * @param boolean either <b>true</b> or <b>false</b>
        */
  -    public final void setLocale(String str)
  +    public final void setLocale(boolean flag)
       {
  -	if( str.equals("true") )
  -	    locale = pageContext.getRequest().getLocale();
  +        locale_flag = flag;
       }
   
       /**
  @@ -231,12 +232,4 @@
           return "" + month_num;
       }
   
  -    /**
  -     * Remove the script variable after months tag closed out
  -     */
  -    public final void release()
  -    {
  -	if( id != null && id.length() > 0 )
  -	    pageContext.removeAttribute(id,PageContext.PAGE_SCOPE);
  -    }
   }
  
  
  
  1.4       +25 -15    jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/ParseTag.java
  
  Index: ParseTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/ParseTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ParseTag.java	2001/07/07 20:42:29	1.3
  +++ ParseTag.java	2001/07/08 02:31:57	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/ParseTag.java,v
1.3 2001/07/07 20:42:29 glenn Exp $
  - * $Revision: 1.3 $
  - * $Date: 2001/07/07 20:42:29 $
  + * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/ParseTag.java,v
1.4 2001/07/08 02:31:57 glenn Exp $
  + * $Revision: 1.4 $
  + * $Date: 2001/07/08 02:31:57 $
    *
    * ====================================================================
    *
  @@ -115,10 +115,12 @@
   public class ParseTag extends BodyTagSupport
   {
       // Optional attribute, use users locale if known when formatting date
  -    private Locale locale = null;
  +    private boolean locale_flag = false;
       // Optional attribute, time pattern string to use when formatting date
       private String pattern = null;
  -    // Optional attribute, timeZone script variable id to use when formatting date
  +    // Optional attribute, timeZone script variable id to use when
  +    // formatting date
  +    private String timeZone_string;
       private TimeZone timeZone = null;
       // Date after parsing tag body
       private Date date = null;
  @@ -153,17 +155,27 @@
   	    pattern = sdf.toPattern();
   	}
   	// Get a SimpleDateFormat using locale if necessary
  -	if( locale == null )
  +	if( !locale_flag )
   	    sdf = new SimpleDateFormat(pattern);
   	else
  -	    sdf = new SimpleDateFormat(pattern,locale);
  +	    sdf = new SimpleDateFormat(pattern,
  +                      (Locale)pageContext.getRequest().getLocale());
   
   	// See if there is a timeZone
  -	if( timeZone != null )
  -	    sdf.setTimeZone(timeZone);
  +        if( timeZone_string != null ) {
  +            timeZone =
  +                (TimeZone)pageContext.getAttribute(timeZone_string,
  +                                                   PageContext.SESSION_SCOPE);
  +	    if( timeZone == null )
  +                throw new JspTagException("Datetime parse tag timeZone " +
  +                    "script variable \"" + timeZone_string +
  +                    " \" does not exist");
  +            sdf.setTimeZone(timeZone);
  +        }
   
   	// Parse the string and create the date.
   	try {
  +            date = null;
   	    date = sdf.parse(s);
   	} catch(ParseException e) {
   	}
  @@ -193,12 +205,11 @@
        * Locale flag, if set to true, date format is for
        * client's preferred locale if known.
        *
  -     * @param String use users locale, true or false
  +     * @param boolean use users locale, true or false
        */
  -    public final void setLocale(String str)
  +    public final void setLocale(boolean flag)
       {
  -        if( str.equals("true") ) 
  -            locale = pageContext.getRequest().getLocale();
  +        locale_flag = flag;
       }
    
       /**
  @@ -211,8 +222,7 @@
        */
       public final void setTimeZone(String tz)
       { 
  -        timeZone =
  -            (TimeZone)pageContext.getAttribute(tz,PageContext.SESSION_SCOPE);
  +        timeZone_string = tz;
       } 
    
       /**   
  
  
  
  1.4       +21 -20    jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/TimeZonesTag.java
  
  Index: TimeZonesTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/TimeZonesTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TimeZonesTag.java	2001/07/07 20:42:31	1.3
  +++ TimeZonesTag.java	2001/07/08 02:31:57	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/TimeZonesTag.java,v
1.3 2001/07/07 20:42:31 glenn Exp $
  - * $Revision: 1.3 $
  - * $Date: 2001/07/07 20:42:31 $
  + * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/TimeZonesTag.java,v
1.4 2001/07/08 02:31:57 glenn Exp $
  + * $Revision: 1.4 $
  + * $Date: 2001/07/08 02:31:57 $
    *
    * ====================================================================
    *
  @@ -112,7 +112,8 @@
   
   public class TimeZonesTag extends BodyTagSupport
   {
  -    private Locale locale = null;
  +    private boolean locale_flag = false;
  +    private String style_string = "SHORT";
       private int style = TimeZone.SHORT;
       private String [] timeZones = null;
       private TimeZone timeZone = null;
  @@ -125,6 +126,14 @@
        */
       public final int doStartTag() throws JspException
       {
  +        if( style_string == null || style_string.equals("SHORT") )  
  +            style = TimeZone.SHORT;
  +        else if( style_string.equals("LONG") )
  +            style = TimeZone.LONG;
  +        else
  +           throw new JspTagException(
  +               "Datetime tag timeZones style attribute must be set to" +
  +               " either SHORT or LONG");
   	timeZones = TimeZone.getAvailableIDs();
   
   	timeZone = TimeZone.getTimeZone(timeZones[zone_num]);
  @@ -162,6 +171,7 @@
        */
       public final int doEndTag() throws JspException
       {
  +        pageContext.removeAttribute(id,PageContext.PAGE_SCOPE);
   	try
   	{
   	    if(bodyContent != null)
  @@ -177,12 +187,11 @@
        * Locale flag, if set to true, format timeZone Displayname
        * for client's preferred locale if known.
        *
  -     * @param String either <b>true</b> or <b>false</b>
  +     * @param boolean either <b>true</b> or <b>false</b>
        */
  -    public final void setLocale(String str)
  +    public final void setLocale(boolean flag)
       {
  -	if( str.equals("true") )
  -	    locale = pageContext.getRequest().getLocale();
  +        locale_flag = flag;
       }
   
       /**
  @@ -192,8 +201,7 @@
        */
       public final void setStyle(String str)
       {
  -	if( str.equals("LONG") )
  -	    style = TimeZone.LONG;
  +        style_string = str;
       }
   
       /**
  @@ -212,8 +220,9 @@
   	if( timeZone.useDaylightTime() )
   	    daylight = timeZone.inDaylightTime(now);
   
  -	if( locale != null ) {
  -	    dn = timeZone.getDisplayName(daylight, style, locale);
  +	if( locale_flag) {
  +	    dn = timeZone.getDisplayName(daylight,style,
  +                     (Locale)pageContext.getRequest().getLocale());
   	} else {
   	    dn = timeZone.getDisplayName(daylight, style);
   	}
  @@ -236,12 +245,4 @@
   	return timeZone.getID();
       }
   
  -    /**
  -     * Remove the script variable after timeZones tag closed out
  -     */
  -    public final void release()
  -    {
  -	if( id != null && id.length() > 0 )
  -	    pageContext.removeAttribute(id,PageContext.PAGE_SCOPE);
  -    }
   }
  
  
  
  1.3       +11 -18    jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/WeekdaysTag.java
  
  Index: WeekdaysTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/WeekdaysTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- WeekdaysTag.java	2000/11/06 01:20:14	1.2
  +++ WeekdaysTag.java	2001/07/08 02:31:57	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/WeekdaysTag.java,v
1.2 2000/11/06 01:20:14 glenn Exp $
  - * $Revision: 1.2 $
  - * $Date: 2000/11/06 01:20:14 $
  + * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/WeekdaysTag.java,v
1.3 2001/07/08 02:31:57 glenn Exp $
  + * $Revision: 1.3 $
  + * $Date: 2001/07/08 02:31:57 $
    *
    * ====================================================================
    *
  @@ -105,7 +105,7 @@
   
   public class WeekdaysTag extends BodyTagSupport
   {
  -    private Locale locale = null;
  +    private boolean locale_flag = false;
       private String [] short_weekdays = null;
       private String [] long_weekdays = null;
       private int day = 0;
  @@ -121,10 +121,11 @@
           SimpleDateFormat sdf;
   	String pattern = "yyyy";
           // Get a SimpleDateFormat using locale if necessary
  -        if( locale == null )
  +        if( !locale_flag )
               sdf = new SimpleDateFormat(pattern);
           else
  -            sdf = new SimpleDateFormat(pattern,locale);
  +            sdf = new SimpleDateFormat(pattern,
  +                      (Locale)pageContext.getRequest().getLocale());
   
   	DateFormatSymbols dfs = sdf.getDateFormatSymbols();
   	short_weekdays = dfs.getShortWeekdays();
  @@ -170,6 +171,7 @@
        */
       public final int doEndTag() throws JspException
       {
  +        pageContext.removeAttribute(id,PageContext.PAGE_SCOPE);
   	try
   	{
   	    if(bodyContent != null)
  @@ -185,12 +187,11 @@
        * Locale flag, if set to true, use weekday names
        * for client's preferred locale if known.
        *
  -     * @param String either <b>true</b> or <b>false</b>
  +     * @param boolean either <b>true</b> or <b>false</b>
        */
  -    public final void setLocale(String str)
  +    public final void setLocale(boolean flag)
       {
  -	if( str.equals("true") )
  -	    locale = pageContext.getRequest().getLocale();
  +        locale_flag = flag;
       }
   
       /**
  @@ -229,12 +230,4 @@
           return "" + day_num;
       }
   
  -    /**
  -     * Remove the script variable after weekdays tag closed out
  -     */
  -    public final void release()
  -    {
  -	if( id != null && id.length() > 0 )
  -	    pageContext.removeAttribute(id,PageContext.PAGE_SCOPE);
  -    }
   }
  
  
  

Mime
View raw message