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 BundleSupport.java LocaleSupport.java TimeZoneSupport.java
Date Wed, 21 Nov 2001 17:37:59 GMT
luehe       01/11/21 09:37:59

  Modified:    standard/src/org/apache/taglibs/standard/tag/common/fmt
                        BundleSupport.java LocaleSupport.java
                        TimeZoneSupport.java
  Log:
  Changed 'jsptl' to 'jstl' in the package prefix of i18n-related scoped attributes, to be
consistent with the functional description
  
  Revision  Changes    Path
  1.2       +6 -6      jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/fmt/BundleSupport.java
  
  Index: BundleSupport.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/fmt/BundleSupport.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BundleSupport.java	2001/11/21 07:38:57	1.1
  +++ BundleSupport.java	2001/11/21 17:37:59	1.2
  @@ -75,21 +75,21 @@
       // Public constants
   
       public static final String DEFAULT_BASENAME =
  -	"javax.servlet.jsp.jsptl.i18n.basename";
  +	"javax.servlet.jsp.jstl.i18n.basename";
   
   
       //*********************************************************************
       // Package-scoped constants
   
       static final String DEFAULT_EXCEPTION_BASENAME =
  -	"javax.servlet.jsp.jsptl.i18n.exception.basename";
  +	"javax.servlet.jsp.jstl.i18n.exception.basename";
   
   
       //*********************************************************************
       // Private constants
   
       private static final String FALLBACK_LOCALE =
  -	"javax.servlet.jsp.jsptl.i18n.fallbackLocale";
  +	"javax.servlet.jsp.jstl.i18n.fallbackLocale";
   
   
       //*********************************************************************
  @@ -173,7 +173,7 @@
   	} else if (getBodyContent() == null) {
   	    /*
   	     * If no 'var' attribute and no body, we store our base name
  -	     * in the javax.servlet.jsp.jsptl.i18n.basename scoped attribute
  +	     * in the javax.servlet.jsp.jstl.i18n.basename scoped attribute
   	     */
   	    pageContext.setAttribute(DEFAULT_BASENAME, basename, scope);
   	}
  @@ -196,7 +196,7 @@
        * <p> The resource bundle's locale is determined as follows:
        *
        * <ul>
  -     * <li> If the <tt>javax.servlet.jsp.jsptl.i18n.locale</tt> scoped

  +     * <li> If the <tt>javax.servlet.jsp.jstl.i18n.locale</tt> scoped

        * attribute exists, use the locale stored as its value.
        *
        * <li> Otherwise, compare the client's preferred locales (in order of
  @@ -204,7 +204,7 @@
        * use the best matching locale.
        *
        * <li> If no match is found, use the fallback locale given by the
  -     * <tt>javax.servlet.jsp.jsptl.i18n.fallbackLocale</tt> scoped attribute,
  +     * <tt>javax.servlet.jsp.jstl.i18n.fallbackLocale</tt> scoped attribute,
        * if it exists.
        *
        * <li> Otherwise, use the runtime's default locale.
  
  
  
  1.2       +3 -3      jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/fmt/LocaleSupport.java
  
  Index: LocaleSupport.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/fmt/LocaleSupport.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LocaleSupport.java	2001/11/21 07:39:00	1.1
  +++ LocaleSupport.java	2001/11/21 17:37:59	1.2
  @@ -74,7 +74,7 @@
       // Package-scoped constants
   
       static final String LOCALE_ATTRIBUTE =
  -	"javax.servlet.jsp.jsptl.i18n.locale";
  +	"javax.servlet.jsp.jstl.i18n.locale";
   
   
       //*********************************************************************
  @@ -144,13 +144,13 @@
        * <p> The formatting locale is determined as follows:
        *
        * <ul>
  -     * <li> If the <tt>javax.servlet.jsp.jsptl.i18n.locale</tt> scoped
  +     * <li> If the <tt>javax.servlet.jsp.jstl.i18n.locale</tt> scoped
        * attribute exists, use its locale.
        *
        * <li> If the formatting action is enclosed within a <bundle> action,
use
        * the locale of the parent bundle.
        *
  -     * <li> If the <tt>javax.servlet.jsp.jsptl.i18n.basename</tt> scoped
  +     * <li> If the <tt>javax.servlet.jsp.jstl.i18n.basename</tt> scoped
        * attribute exists, retrieve the default base name from it and use the
        * best matching locale for the resource bundle with this base name.
        *
  
  
  
  1.2       +2 -2      jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/fmt/TimeZoneSupport.java
  
  Index: TimeZoneSupport.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/fmt/TimeZoneSupport.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TimeZoneSupport.java	2001/11/21 07:39:02	1.1
  +++ TimeZoneSupport.java	2001/11/21 17:37:59	1.2
  @@ -74,7 +74,7 @@
       // Package-scoped constants
   
       static final String TIMEZONE_ATTRIBUTE =
  -	"javax.servlet.jsp.jsptl.i18n.timeZone";
  +	"javax.servlet.jsp.jstl.i18n.timeZone";
   
   
       //*********************************************************************
  @@ -139,7 +139,7 @@
   	} else if (getBodyContent() == null) {
   	    /*
   	     * If no 'var' attribute and no body, we store our time zone
  -	     * in the javax.servlet.jsp.jsptl.i18n.timeZone scoped attribute
  +	     * in the javax.servlet.jsp.jstl.i18n.timeZone scoped attribute
   	     */
   	    pageContext.setAttribute(TIMEZONE_ATTRIBUTE, timeZone, scope);
   	}
  
  
  

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