You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2005/11/27 22:25:23 UTC

svn commit: r349317 - /myfaces/impl/trunk/tld/myfaces_core.tld

Author: skitching
Date: Sun Nov 27 13:25:20 2005
New Revision: 349317

URL: http://svn.apache.org/viewcvs?rev=349317&view=rev
Log:
* Fix DTD violation: display-name must come before description tag.
* Clean up very long lines

Modified:
    myfaces/impl/trunk/tld/myfaces_core.tld

Modified: myfaces/impl/trunk/tld/myfaces_core.tld
URL: http://svn.apache.org/viewcvs/myfaces/impl/trunk/tld/myfaces_core.tld?rev=349317&r1=349316&r2=349317&view=diff
==============================================================================
--- myfaces/impl/trunk/tld/myfaces_core.tld (original)
+++ myfaces/impl/trunk/tld/myfaces_core.tld Sun Nov 27 13:25:20 2005
@@ -33,10 +33,10 @@
     <jsp-version>1.2</jsp-version>
     <short-name>f</short-name>
     <uri>http://java.sun.com/jsf/core</uri>
+    <display-name>JSF core tag library.</display-name>
     <description>
         This tag library implements the standard JSF core tags.
     </description>
-	<display-name>JSF core tag library.</display-name>
 
 <!--
 ======================================================
@@ -57,10 +57,13 @@
         <name>actionListener</name>
         <tag-class>org.apache.myfaces.taglib.core.ActionListenerTag</tag-class>
         <body-content>empty</body-content>
-        <description>This tag creates an instance of the specified ActionListener, and associates it with 
-        the nearest parent UIComponent.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+        <description>
+            This tag creates an instance of the specified ActionListener, and
+            associates it with the nearest parent UIComponent.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
+        </description>
         <attribute>
             <name>type</name>
             <required>true</required>
@@ -78,10 +81,11 @@
         <name>attribute</name>
         <tag-class>javax.faces.webapp.AttributeTag</tag-class>
         <body-content>empty</body-content>
-        <description>This tag associates an attribute with 
-        the nearest parent UIComponent.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+        <description>
+            This tag associates an attribute with the nearest parent UIComponent.
+
+            Unless otherwise specified, all attributes accept static values or EL expressions.
+        </description>
         <attribute>
             <name>name</name>
             <required>true</required>
@@ -105,9 +109,11 @@
         <name>convertDateTime</name>
         <tag-class>org.apache.myfaces.taglib.core.ConvertDateTimeTag</tag-class>
         <body-content>empty</body-content>
-        <description>This tag associates a date time converter with the nearest parent UIComponent.
+        <description>
+            This tag associates a date time converter with the nearest parent UIComponent.
         
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+            Unless otherwise specified, all attributes accept static values or EL expressions.
+        </description>
         <attribute>
             <name>dateStyle</name>
             <required>false</required>
@@ -142,7 +148,11 @@
             <name>type</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
-            <description>Specifies whether the date, time, or both should be parsed/formatted.  Values include:  date, time, and both.  Default based on setting of timeStyle and dateStyle.</description>
+            <description>
+                Specifies whether the date, time, or both should be 
+                parsed/formatted.  Values include:  date, time, and both.
+                Default based on setting of timeStyle and dateStyle.
+            </description>
         </attribute>
     </tag>
 
@@ -150,8 +160,10 @@
         <name>converter</name>
         <tag-class>javax.faces.webapp.ConverterTag</tag-class>
         <body-content>empty</body-content>
-        <description>This tag creates an instance of the specified Converter, and associates it with 
-        the nearest parent UIComponent.</description>
+        <description>
+            This tag creates an instance of the specified Converter, and
+            associates it with the nearest parent UIComponent.
+        </description>
         <attribute>
             <name>converterId</name>
             <required>true</required>
@@ -164,10 +176,12 @@
         <name>convertNumber</name>
         <tag-class>org.apache.myfaces.taglib.core.ConvertNumberTag</tag-class>
         <body-content>empty</body-content>
-        <description>This tag creates a number formatting converter and associates it with the
-        nearest parent UIComponent.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+        <description>
+            This tag creates a number formatting converter and associates it
+            with the nearest parent UIComponent.
+ 
+            Unless otherwise specified, all attributes accept static values or EL expressions.
+        </description>
         <attribute>
             <name>currencyCode</name>
             <required>false</required>
@@ -178,7 +192,10 @@
             <name>currencySymbol</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
-            <description>The currency symbol used to format a currency value.  Defaults to the currency symbol for locale.</description>
+            <description>
+                The currency symbol used to format a currency value.  Defaults
+                to the currency symbol for locale.
+            </description>
         </attribute>
         <attribute>
             <name>groupingUsed</name>
@@ -196,7 +213,10 @@
             <name>locale</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
-            <description>The name of the locale to be used, instead of the default as specified in the faces configuration file.</description>
+            <description>
+                The name of the locale to be used, instead of the default as
+                specified in the faces configuration file.
+            </description>
         </attribute>
         <attribute>
             <name>maxFractionDigits</name>
@@ -232,7 +252,10 @@
             <name>type</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
-            <description>The type of formatting/parsing to be performed.  Values include:  number, currency, and percentage.  Default: number.</description>
+            <description>
+                The type of formatting/parsing to be performed.  Values include:
+                number, currency, and percentage.  Default: number.
+            </description>
         </attribute>
     </tag>
 
@@ -246,10 +269,14 @@
         <name>facet</name>
         <tag-class>javax.faces.webapp.FacetTag</tag-class>
         <body-content>JSP</body-content>
-        <description>This tag adds its child as a facet of the nearest parent UIComponent.  A child consisting of multiple elements should
-        be nested within a container component (i.e., within an h:panelGroup for HTML library components).
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+        <description>
+            This tag adds its child as a facet of the nearest parent UIComponent.
+            A child consisting of multiple elements should be nested within a
+            container component (i.e., within an h:panelGroup for HTML library
+            components).
+
+            Unless otherwise specified, all attributes accept static values or EL expressions.
+        </description>
         <attribute>
             <name>name</name>
             <required>true</required>
@@ -280,7 +307,10 @@
             <name>var</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
-            <description>The name of the variable in request scope that the resources are saved to.  This must be a static value.</description>
+            <description>
+                The name of the variable in request scope that the resources
+                are saved to.  This must be a static value.
+            </description>
         </attribute>
     </tag>
 
@@ -293,9 +323,11 @@
         <name>param</name>
         <tag-class>org.apache.myfaces.taglib.core.ParamTag</tag-class>
         <body-content>empty</body-content>
-        <description>This tag associates a parameter name-value pair with the nearest parent UIComponent.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+        <description>
+            This tag associates a parameter name-value pair with the nearest parent UIComponent.
+
+            Unless otherwise specified, all attributes accept static values or EL expressions.
+        </description>
         &ui_parameter_attributes;
     </tag>
 
@@ -308,9 +340,12 @@
         <name>selectItem</name>
         <tag-class>org.apache.myfaces.taglib.core.SelectItemTag</tag-class>
         <body-content>empty</body-content>
-        <description>This tag creates a selection list item, and associates it with the nearest parent UIComponent.
+        <description>
+            This tag creates a selection list item, and associates it with the
+            nearest parent UIComponent.
         
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+            Unless otherwise specified, all attributes accept static values or EL expressions.
+        </description>
         &ui_select_item_attributes;
     </tag>
 
@@ -338,17 +373,22 @@
         <name>subview</name>
         <tag-class>org.apache.myfaces.taglib.core.SubviewTag</tag-class>
         <body-content>JSP</body-content>
-        <description>This tag associates a set of UIComponents with the nearest parent UIComponent.  It acts as
-        a naming container to make the IDs of its component elements unique.
+        <description>
+            This tag associates a set of UIComponents with the nearest parent
+            UIComponent.  It acts as a naming container to make the IDs of its
+            component elements unique.
         
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+            Unless otherwise specified, all attributes accept static values or EL expressions.
+        </description>
         <attribute>
             <name>id</name>
             <required>true</required>
             <rtexprvalue>false</rtexprvalue>
             <type>java.lang.String</type>
-            <description>The developer-assigned ID of this component.  The ID must be unique within the scope of the tag's 
-            enclosing naming container (e.g., h:form or f:subview).  This value must be a static value.
+            <description>
+                The developer-assigned ID of this component.  The ID must be
+                unique within the scope of the tag's enclosing naming container
+                (e.g., h:form or f:subview).  This value must be a static value.
             </description>
         </attribute>
         <attribute>
@@ -356,7 +396,10 @@
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
             <type>java.lang.String</type>
-            <description>A boolean value that indicates whether this component should be rendered.  Default:  true.</description>
+            <description>
+                A boolean value that indicates whether this component should be
+                rendered.  Default:  true.
+            </description>
         </attribute>
         <attribute>
             <name>binding</name>
@@ -374,28 +417,35 @@
 ======================================================
 -->
     <tag>
-      <name>validateDoubleRange</name>
-      <tag-class>org.apache.myfaces.taglib.core.ValidateDoubleRangeTag</tag-class>
-      <body-content>empty</body-content>
-        <description>Creates a validator and associateds it with the nearest parent UIComponent.  When invoked,
-        the validator ensures that values are valid doubles that lie within the minimum and maximum values specified.
-        
-        Commonly associated with a h:inputText entity.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
-      &validator_min_max_attributes;
+        <name>validateDoubleRange</name>
+        <tag-class>org.apache.myfaces.taglib.core.ValidateDoubleRangeTag</tag-class>
+        <body-content>empty</body-content>
+        <description>
+            Creates a validator and associateds it with the nearest parent
+            UIComponent.  When invoked, the validator ensures that values are
+            valid doubles that lie within the minimum and maximum values specified.
+        
+            Commonly associated with a h:inputText entity.
+        
+            Unless otherwise specified, all attributes accept static values or EL expressions.
+        </description>
+        &validator_min_max_attributes;
     </tag>
 
     <tag>
       <name>validateLength</name>
       <tag-class>org.apache.myfaces.taglib.core.ValidateLengthTag</tag-class>
       <body-content>empty</body-content>
-        <description>Creates a validator and associateds it with the nearest parent UIComponent.  When invoked,
-        the validator ensures that values are valid strings with a length that lies within the minimum and maximum values specified.
+      <description>
+          Creates a validator and associateds it with the nearest parent
+          UIComponent.  When invoked, the validator ensures that values are
+          valid strings with a length that lies within the minimum and maximum
+          values specified.
         
-        Commonly associated with a h:inputText entity.
+          Commonly associated with a h:inputText entity.
         
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+          Unless otherwise specified, all attributes accept static values or EL expressions.
+      </description>
       &validator_min_max_attributes;
     </tag>
 
@@ -403,12 +453,15 @@
       <name>validateLongRange</name>
       <tag-class>org.apache.myfaces.taglib.core.ValidateLongRangeTag</tag-class>
       <body-content>empty</body-content>
-        <description>Creates a validator and associateds it with the nearest parent UIComponent.  When invoked,
-        the validator ensures that values are valid longs that lie within the minimum and maximum values specified.
+      <description>
+        Creates a validator and associateds it with the nearest parent
+        UIComponent.  When invoked, the validator ensures that values
+        are valid longs that lie within the minimum and maximum values specified.
         
         Commonly associated with a h:inputText entity.
         
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+        Unless otherwise specified, all attributes accept static values or EL expressions.
+      </description>
       &validator_min_max_attributes;
     </tag>
 
@@ -416,12 +469,15 @@
       <name>validator</name>
       <tag-class>javax.faces.webapp.ValidatorTag</tag-class>
       <body-content>empty</body-content>
-        <description>Creates a validator and associateds it with the nearest parent UIComponent.  The specified
-        custom validator is invoked to test the validity of the UIComponent's value.
+      <description>
+        Creates a validator and associateds it with the nearest parent
+        UIComponent.  The specified custom validator is invoked to test the
+        validity of the UIComponent's value.
         
         Commonly associated with a h:inputText entity.
         
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+        Unless otherwise specified, all attributes accept static values or EL expressions.
+      </description>
       <attribute>
         <name>validatorId</name>
         <required>false</required>
@@ -440,9 +496,11 @@
         <name>valueChangeListener</name>
         <tag-class>org.apache.myfaces.taglib.core.ValueChangeListenerTag</tag-class>
         <body-content>empty</body-content>
-        <description>Adds the specified ValueChangeListener to the nearest parent UIComponent.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+        <description>
+            Adds the specified ValueChangeListener to the nearest parent UIComponent.
+
+            Unless otherwise specified, all attributes accept static values or EL expressions.
+        </description>
         <attribute>
             <name>type</name>
             <required>true</required>
@@ -460,9 +518,11 @@
         <name>verbatim</name>
         <tag-class>org.apache.myfaces.taglib.core.VerbatimTag</tag-class>
         <body-content>JSP</body-content>
-        <description>Outputs its body as verbatim text.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+        <description>
+            Outputs its body as verbatim text.
+
+            Unless otherwise specified, all attributes accept static values or EL expressions.
+        </description>
         <attribute>
             <name>escape</name>
             <required>false</required>
@@ -480,9 +540,12 @@
         <name>view</name>
         <tag-class>org.apache.myfaces.taglib.core.ViewTag</tag-class>
         <body-content>JSP</body-content>
-        <description>Creates a JSF View, which is a container that holds all of the components that are part of the view.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+        <description>
+            Creates a JSF View, which is a container that holds all of the
+            components that are part of the view.
+
+            Unless otherwise specified, all attributes accept static values or EL expressions.
+        </description>
         <attribute>
             <name>locale</name>
             <required>false</required>