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

Peter Muir peter at bleepbleep.org.uk
Sun Nov 18 09:57:18 EST 2007


  User: pmuir   
  Date: 07/11/18 09:57:18

  Modified:    doc/reference/en/modules  controls.xml
  Log:
  JBSEAM-1893
  
  Revision  Changes    Path
  1.58      +27 -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.57
  retrieving revision 1.58
  diff -u -b -r1.57 -r1.58
  --- controls.xml	17 Nov 2007 14:22:22 -0000	1.57
  +++ controls.xml	18 Nov 2007 14:57:17 -0000	1.58
  @@ -381,6 +381,33 @@
           <row>
             <entry valign="top">
               <para>
  +              <literal>&lt;s:defaultAction&gt;</literal>
  +            </para>
  +          </entry>
  +          <entry valign="top">
  +            <para><emphasis>Description</emphasis></para>
  +            <para>
  +              Specify the default action to run when the form is submitted using
  +              the enter key.
  +            </para>
  +            <para>
  +              You must specify an id on the action source. You can only have one
  +              default action per form.
  +            </para>
  +            <para><emphasis>Attributes</emphasis></para>
  +            <para>
  +              None.
  +            </para>
  +            <para><emphasis>Usage</emphasis></para>
  +            <programlisting><![CDATA[<h:commandButton id="foo" value="Foo" action="#{manager.foo}">
  +   <s:defaultAction />
  +</h:commandButton>]]></programlisting>
  +          </entry>
  +        </row>
  +
  +        <row>
  +          <entry valign="top">
  +            <para>
                 <literal>&lt;s:div&gt;</literal>
               </para>
             </entry>
  
  
  



More information about the jboss-cvs-commits mailing list