myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject svn commit: r349313 - /myfaces/impl/trunk/tld/myfaces_html.tld
Date Sun, 27 Nov 2005 21:12:43 GMT
Author: skitching
Date: Sun Nov 27 13:12:37 2005
New Revision: 349313

URL: http://svn.apache.org/viewcvs?rev=349313&view=rev
Log:
* Fix DTD violation: display-name must come before description tag.
* Remove all tab chars, tidy up line lengths and layout.
* Clean up h:messages tag by using CDATA to include HTML markup in TLD
  file (verified as working).

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

Modified: myfaces/impl/trunk/tld/myfaces_html.tld
URL: http://svn.apache.org/viewcvs/myfaces/impl/trunk/tld/myfaces_html.tld?rev=349313&r1=349312&r2=349313&view=diff
==============================================================================
--- myfaces/impl/trunk/tld/myfaces_html.tld (original)
+++ myfaces/impl/trunk/tld/myfaces_html.tld Sun Nov 27 13:12:37 2005
@@ -91,10 +91,10 @@
     <jsp-version>1.2</jsp-version>
     <short-name>h</short-name>
     <uri>http://java.sun.com/jsf/html</uri>
+    <display-name>JSF HTML tag library.</display-name>
     <description>
         This tag library implements the standard JSF HTML tags.
     </description>
-	<display-name>JSF HTML tag library.</display-name>
 
 <!--
 *************************************************************************************
@@ -107,11 +107,15 @@
         <name>column</name>
         <tag-class>org.apache.myfaces.taglib.html.HtmlColumnTag</tag-class>
         <body-content>JSP</body-content>
-        <description>This tag is commonly used as a child of the dataTable tag, to
represent a column of data.  
-        It can be decorated with "header" and "footer" facets to drive the output of header
and footer
-        rows.  Row values are specified via its children.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+        <description>
+            This tag is commonly used as a child of the dataTable tag, to
+            represent a column of data. It can be decorated with "header" and
+            "footer" facets to drive the output of header and footer rows.
+            Row values are specified via its children.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
+        </description>
         &ui_component_attributes;
      </tag>
 
@@ -120,9 +124,12 @@
         <name>commandButton</name>
         <tag-class>org.apache.myfaces.taglib.html.HtmlCommandButtonTag</tag-class>
         <body-content>JSP</body-content>
-        <description>This tag renders as an HTML input element.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+        <description>
+            This tag renders as an HTML input element.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
+        </description>
         &standard_command_button_attributes;
     </tag>
 
@@ -132,9 +139,10 @@
         <tag-class>org.apache.myfaces.taglib.html.HtmlCommandLinkTag</tag-class>
         <body-content>JSP</body-content>
         <description>
-        This tag renders as an HTML a element.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+            This tag renders as an HTML a element.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         &standard_command_link_attributes;
     </tag>
@@ -144,10 +152,15 @@
         <name>dataTable</name>
         <tag-class>org.apache.myfaces.taglib.html.HtmlDataTableTag</tag-class>
         <body-content>JSP</body-content>
-        <description>This component renders as an HTML table element.  It has as its
children h:column entities, which
-        describe the columns of the table.  It can be decorated with facets named "header"
and "footer" to specify header and footer rows.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+        <description>
+            This component renders as an HTML table element.  It has as its
+            children h:column entities, which describe the columns of the table.
+            It can be decorated with facets named "header" and "footer" to
+            specify header and footer rows.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
+        </description>
         &standard_data_table_attributes;
      </tag>
 
@@ -158,8 +171,9 @@
         <body-content>JSP</body-content>
         <description>
             Renders an HTML form element.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         &ui_form_attributes;
         &html_universal_attributes;
@@ -173,9 +187,10 @@
         <tag-class>org.apache.myfaces.taglib.html.HtmlGraphicImageTag</tag-class>
         <body-content>JSP</body-content>
         <description>
-        	Renders an HTML img element.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+            Renders an HTML img element.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         &ui_graphic_attributes;
         &html_universal_attributes;
@@ -189,9 +204,10 @@
         <tag-class>org.apache.myfaces.taglib.html.HtmlInputHiddenTag</tag-class>
         <body-content>JSP</body-content>
         <description>
-        	Renders as an HTML input tag with its type set to "hidden".
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+            Renders as an HTML input tag with its type set to "hidden".
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         &ui_input_attributes;
         <!-- HiddenRenderer attributes -->
@@ -204,9 +220,10 @@
         <body-content>JSP</body-content>
         &ui_input_attributes;
         <description>
-        	Renders as an HTML input tag with its type set to "password".
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+            Renders as an HTML input tag with its type set to "password".
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         <!-- todo: not all html_input_attributes are used for input_secret
             in RI (e.g. datafld, datasrc, ...) -->
@@ -232,8 +249,9 @@
         <body-content>JSP</body-content>
         <description>
             Renders a HTML input element.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         &standard_input_text_attributes;
     </tag>
@@ -245,8 +263,9 @@
         <body-content>JSP</body-content>
         <description>
             Renders a HTML textarea element.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         &standard_input_textarea_attributes;
    </tag>
@@ -259,8 +278,9 @@
         <description>
             Renders the first FacesMessage that is assigned to the component
             referenced by the "for" attribute.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         &standard_message_attributes;
     </tag>
@@ -270,14 +290,21 @@
         <name>messages</name>
         <tag-class>org.apache.myfaces.taglib.html.HtmlMessagesTag</tag-class>
         <body-content>JSP</body-content>
-        <description>
-            Renders all or some FacesMessages depending on the "for" and "globalOnly" attributes:
-            - If globalOnly = true, only global messages, that have no associated clientId,
will be displayed
-            - else if there is a "for" attribute, only messages, that are assigned to the
component referenced
-              by the "for" attribute, are displayed
-            - else all messages are displayed.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+        <description> <![CDATA[
+            Renders all or some FacesMessages depending on the "for" and
+            "globalOnly" attributes:<br>
+            <ul>
+             <li>If globalOnly = true, only global messages, that have no
+               associated clientId, will be displayed.</li>
+            <li>else if there is a "for" attribute, only messages that are
+               assigned to the component referenced by the "for" attribute
+               are displayed.</li>
+            <li>else all messages are displayed.</li>
+           </ul>
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
+            ]]>
         </description>
         &standard_messages_attributes;
     </tag>
@@ -293,7 +320,9 @@
             In addition to the JSF specification, MyFaces allows it to directly
             give an output text via the "value" attribute.
         
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         &standard_output_label_attributes;
     </tag>
@@ -306,8 +335,9 @@
         <description>
             Renders a HTML a element.  Child f:param elements are added to the href
             attribute as query parameters.  Other children are rendered as the link text
or image.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         
         &ui_output_attributes;
@@ -322,11 +352,12 @@
         <tag-class>org.apache.myfaces.taglib.html.HtmlOutputFormatTag</tag-class>
         <body-content>JSP</body-content>
         <description>
-        	Renders as text, applying the child f:param values to the
-        	value attribute as a MessageFormat string.  If this element has an ID or CSS style
-        	properties, the text is wrapped in a span element.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+            Renders as text, applying the child f:param values to the value
+            attribute as a MessageFormat string.  If this element has an ID
+            or CSS style properties, the text is wrapped in a span element.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         &ui_output_attributes;
         &html_universal_attributes;
@@ -349,10 +380,12 @@
         <tag-class>org.apache.myfaces.taglib.html.HtmlOutputTextTag</tag-class>
         <body-content>JSP</body-content>
         <description>
-            Renders the value of the associated UIOutput component.  If this element has
an ID or CSS style
-        	properties, the text is wrapped in a span element.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+            Renders the value of the associated UIOutput component.  If this
+            element has an ID or CSS style properties, the text is wrapped in
+            a span element.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         &ui_output_attributes;
         &html_universal_attributes;
@@ -374,11 +407,16 @@
         <name>panelGrid</name>
         <tag-class>org.apache.myfaces.taglib.html.HtmlPanelGridTag</tag-class>
         <body-content>JSP</body-content>
-        <description>This element renders as an HTML table with specified number of
columns.  Children of this
-        element are rendered as cells in the table, filling rows from left to right.  Facets
named "header" and "footer" are
-        optional and specify the content of the thead and tfoot rows, respectively.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+        <description>
+            This element renders as an HTML table with specified number of
+            columns.  Children of this element are rendered as cells in the
+            table, filling rows from left to right.  Facets named "header"
+            and "footer" are optional and specify the content of the thead
+            and tfoot rows, respectively.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
+        </description>
         &standard_panel_grid_attributes;
      </tag>
 
@@ -387,10 +425,14 @@
         <name>panelGroup</name>
         <tag-class>org.apache.myfaces.taglib.html.HtmlPanelGroupTag</tag-class>
         <body-content>JSP</body-content>
-        <description>This element is used to group other components where the specification
requires one child element.  
-        If any of the HTML or CSS attributes are set, its content is rendered within a span
element.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.</description>
+        <description>
+            This element is used to group other components where the
+            specification requires one child element. If any of the HTML or
+            CSS attributes are set, its content is rendered within a span element.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
+        </description>
         &standard_panel_group_attributes;
     </tag>
 
@@ -399,12 +441,14 @@
         <name>selectBooleanCheckbox</name>
         <tag-class>org.apache.myfaces.taglib.html.HtmlSelectBooleanCheckboxTag</tag-class>
         <body-content>JSP</body-content>
-        <description>        	
-        	Renders as an HTML input tag with its type set to "checkbox", and its name attribute
set to the id.
-        	The "checked" attribute is rendered if the value of this component is true.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
-		</description>
+        <description>
+            Renders as an HTML input tag with its type set to "checkbox", and
+            its name attribute set to the id. The "checked" attribute is rendered
+            if the value of this component is true.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
+        </description>
         &standard_select_boolean_checkbox_attributes;
     </tag>
 
@@ -414,10 +458,11 @@
         <tag-class>org.apache.myfaces.taglib.html.HtmlSelectManyCheckboxTag</tag-class>
         <body-content>JSP</body-content>
         <description>
-        	Renders as an HTML table element, containing an input element for each child f:selectItem
-        	or f:selectItems elements.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+            Renders as an HTML table element, containing an input element for
+            each child f:selectItem or f:selectItems elements.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         &standard_select_many_checkbox_attributes;
     </tag>
@@ -428,11 +473,13 @@
         <tag-class>org.apache.myfaces.taglib.html.HtmlSelectManyListboxTag</tag-class>
         <body-content>JSP</body-content>
         <description>
-        	Renders as an HTML select element, with the choices made up of child f:selectItem
or f:selectItems elements.  
-        	The multiple attribute is set and the size attribute is set to the provided value,
defaulting to the number of items in the list
-        	if no value is provided.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+            Renders as an HTML select element, with the choices made up of
+            child f:selectItem or f:selectItems elements. The multiple attribute
+            is set and the size attribute is set to the provided value,
+            defaulting to the number of items in the list if no value is provided.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         &standard_select_many_listbox_attributes;
     </tag>
@@ -443,10 +490,12 @@
         <tag-class>org.apache.myfaces.taglib.html.HtmlSelectManyMenuTag</tag-class>
         <body-content>JSP</body-content>
         <description>
-        	Renders as an HTML select element, with the choices made up of child f:selectItem
or f:selectItems elements.
-        	The multiple attribute is set and the size attribute is set to 1.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+            Renders as an HTML select element, with the choices made up of 
+            child f:selectItem or f:selectItems elements. The multiple attribute
+            is set and the size attribute is set to 1.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         
         &standard_select_many_menu_attributes;
@@ -458,11 +507,13 @@
         <tag-class>org.apache.myfaces.taglib.html.HtmlSelectOneListboxTag</tag-class>
         <body-content>JSP</body-content>
         <description>
-        	Renders as an HTML select element, with the choices made up of child f:selectItem
or f:selectItems elements.
-        	The size attribute is set to the provided value, defaulting to the number of items
in the list
-        	if no value is provided.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+            Renders as an HTML select element, with the choices made up of
+            child f:selectItem or f:selectItems elements. The size attribute is
+            set to the provided value, defaulting to the number of items in the
+            list if no value is provided.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         &standard_select_one_listbox_attributes;
     </tag>
@@ -473,9 +524,11 @@
         <tag-class>org.apache.myfaces.taglib.html.HtmlSelectOneMenuTag</tag-class>
         <body-content>JSP</body-content>
         <description>
- 	      	Renders as an HTML select element, with the choices made up of child f:selectItem
or f:selectItems elements.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+            Renders as an HTML select element, with the choices made up of
+            child f:selectItem or f:selectItems elements.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         &standard_select_one_menu_attributes;
     </tag>
@@ -486,11 +539,13 @@
         <tag-class>org.apache.myfaces.taglib.html.HtmlSelectOneRadioTag</tag-class>
         <body-content>JSP</body-content>
         <description>
-        	Renders as an HTML table element, containing an input element for each child f:selectItem
-        	or f:selectItems elements.  The input elements are rendered as type radio.  If the
value of a choice matches the components
-        	value, its checked attribute is set.
-        
-        Unless otherwise specified, all attributes accept static values or EL expressions.
+           Renders as an HTML table element, containing an input element for each
+           child f:selectItem or f:selectItems elements.  The input elements are
+           rendered as type radio.  If the value of a choice matches the components
+           value, its checked attribute is set.
+
+            Unless otherwise specified, all attributes accept static values
+            or EL expressions.
         </description>
         &standard_select_one_radio_attributes;
     </tag>



Mime
View raw message