tdawson     01/10/14 15:15:08

  Modified:    i18n/xml i18n.xml
  Log:
  bundle tag now allows body content
  bundle tag basename can be a runtime expression value
  added id attribute to locale
  
  Revision  Changes    Path
  1.2       +37 -2     jakarta-taglibs/i18n/xml/i18n.xml
  
  Index: i18n.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/i18n/xml/i18n.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- i18n.xml  2001/08/04 14:02:44     1.1
  +++ i18n.xml  2001/10/14 22:15:08     1.2
  @@ -91,7 +91,7 @@
         <name>bundle</name> 
         <tag-class>org.apache.taglibs.i18n.BundleTag</tag-class>
         <tei-class>org.apache.taglibs.i18n.BundleTEI</tei-class>
  -      <body-content>empty</body-content>
  +      <body-content>JSP</body-content>
         <display-name>bundle</display-name>
         <description>
           Establishes the ResourceBundle to use for other i18n tags on the page.
  @@ -151,7 +151,7 @@
         <attribute>
           <name>baseName</name>
           <required>true</required>
  -        <rtexprvalue>false</rtexprvalue>
  +        <rtexprvalue>true</rtexprvalue>
           <!-- The following element is non-standard, but probably will be 
               standard in final JSP 1.2. For now it is only used for the HTML
               doc. -->
  @@ -552,6 +552,41 @@
         <availability>1.0</availability>
         <restrictions>
         </restrictions>
  +      <!-- Declaration of scripting variables created by tag. Used for
  +           generating HTML documentation and for JSP 1.2 DTD. -->
  +      <variable>
  +        <!-- name-given or name-from-attribute must be declared -->
  +        <name-from-attribute>id</name-from-attribute>
  +        <!-- Optional variable declarations -->
  +        <!-- Package and class name of variable, default java.lang.String -->
  +        <variable-class>java.util.Locale</variable-class>
  +        <!-- Usage for declare is not clear in JSP1.2PFD, default true -->
  +        <declare>true</declare>
  +        <!-- scope of scripting variable, default NESTED -->
  +        <scope>AT_BEGIN</scope>
  +        <!-- description of scripting variable -->
  +        <description>
  +          The scripting variable declared allows other tags or scriptlets
  +          to access the Locale defined by this tag.
  +        </description>
  +        <!-- Used for HTML documentation. Version added, or deprecated. -->
  +        <availability>1.0</availability>
  +      </variable>
  +
  +      <attribute>
  +        <name>id</name>
  +        <required>false</required>
  +        <rtexprvalue>true</rtexprvalue>
  +        <!-- The following element is non-standard, but probably will be 
  +            standard in final JSP 1.2. For now it is only used for the HTML
  +            doc. -->
  +        <description>
  +          Script variable id for use with standard <b>jsp:getProperty</b>
  +          tag and as an attribute to other tags in this tag library.
  +        </description>
  +        <availability>1.0</availability>
  +      </attribute>
  +
         <attribute>
           <name>locale</name>
           <required>false</required>
  
  
  


Reply via email to