[jboss-cvs] jboss-seam/doc/reference/en/modules ...

Peter Muir peter at bleepbleep.org.uk
Mon Aug 20 10:41:41 EDT 2007


  User: pmuir   
  Date: 07/08/20 10:41:41

  Modified:    doc/reference/en/modules  controls.xml
  Log:
  JBSEAM-1817
  
  Revision  Changes    Path
  1.45      +34 -0     jboss-seam/doc/reference/en/modules/controls.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: controls.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/controls.xml,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -b -r1.44 -r1.45
  --- controls.xml	4 Jul 2007 02:50:11 -0000	1.44
  +++ controls.xml	20 Aug 2007 14:41:41 -0000	1.45
  @@ -775,6 +775,40 @@
           <row>
             <entry valign="top">
               <para>
  +              <literal>&lt;s:label&gt;</literal>
  +            </para>
  +          </entry>
  +          <entry valign="top">
  +            <para><emphasis>Description</emphasis></para>
  +            <para>
  +              "Decorate" a JSF input field with the label.  The label is placed inside 
  +              the HTML <literal>&lt;label&gt;</literal> tag, and is associated with the
  +              nearest JSF input component.  It is often used with <literal>&lt;s:decorate&gt;</literal>.
  +            </para>
  +            <para><emphasis>Attributes</emphasis></para>
  +            <itemizedlist>
  +              <listitem>
  +                <para>
  +                  <literal>style</literal> &#8212; The control's style
  +                </para>
  +              </listitem>
  +              <listitem>
  +                <para>
  +                  <literal>styleClass</literal> &#8212; The control's style class
  +                </para>
  +              </listitem>
  +            </itemizedlist>
  +            <para><emphasis>Usage</emphasis></para>
  +            <programlisting><![CDATA[<s:label styleClass="label">
  +  Country:
  +</s:label>
  +<h:inputText value="#{location.country}" required="true"/>]]></programlisting>
  +          </entry>
  +        </row>
  +        
  +        <row>
  +          <entry valign="top">
  +            <para>
                 <literal>&lt;s:remote&gt;</literal>
               </para>
             </entry>
  
  
  



More information about the jboss-cvs-commits mailing list