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

Gavin King gavin.king at jboss.com
Tue Nov 14 00:23:34 EST 2006


  User: gavin   
  Date: 06/11/14 00:23:34

  Modified:    doc/reference/en/modules   controls.xml tutorial.xml
  Log:
  s:button
  
  Revision  Changes    Path
  1.7       +45 -5     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.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- controls.xml	14 Nov 2006 03:56:25 -0000	1.6
  +++ controls.xml	14 Nov 2006 05:23:34 -0000	1.7
  @@ -104,8 +104,8 @@
              <term><literal>&lt;s:link&gt;</literal></term>
              <listitem>
                  <para>
  -                   A link or button that supports invocation of an action with control
  -                   over conversation propagation.
  +                   A link that supports invocation of an action with control over conversation 
  +                   propagation. Does not submit the form.
                  </para>
                  <itemizedlist>
                      <listitem>
  @@ -136,13 +136,53 @@
                      </listitem>
                      <listitem>
                      <para>
  -                       <literal>linkStyle</literal> &mdash; either <literal>link</literal>,
  -                       the default, or <literal>button</literal>.
  +                       <literal>propagation</literal> &mdash; determines the conversation
  +                       propagation style: <literal>begin</literal>, <literal>join</literal>,
  +                       <literal>nest</literal>, <literal>none</literal> or <literal>end</literal>.
  +                   </para>
  +                   </listitem>
  +                   <listitem>
  +                   <para>
  +                       <literal>pageflow</literal> &mdash; a pageflow definition to begin.
  +                       (This is only useful when <literal>propagation="begin"</literal> or 
  +                       <literal>propagation="join"</literal>.)
  +                   </para>
  +                   </listitem>
  +               </itemizedlist>
  +           </listitem>
  +       </varlistentry>
  +       <varlistentry>
  +           <term><literal>&lt;s:button&gt;</literal></term>
  +           <listitem>
  +               <para>
  +                   A button that supports invocation of an action with control
  +                   over conversation propagation. Does not submit the form.
  +               </para>
  +               <itemizedlist>
  +                   <listitem>
  +                   <para>
  +                       <literal>value</literal> &mdash; the label.
  +                   </para>
  +                   </listitem>
  +                   <listitem>
  +                   <para>
  +                       <literal>action</literal> &mdash; a method binding that specified
  +                       the action listener.
  +                   </para>
  +                   </listitem>
  +                   <listitem>
  +                   <para>
  +                       <literal>view</literal> &mdash; the JSF view id to link to.
  +                   </para>
  +                   </listitem>
  +                   <listitem>
  +                   <para>
  +                       <literal>fragment</literal> &mdash; the fragment identifier to link to.
                      </para>
                      </listitem>
                      <listitem>
                      <para>
  -                       <literal>buttonClass</literal> &mdash; the css class for the button.
  +                       <literal>disabled</literal> &mdash; is the link disabled?
                      </para>
                      </listitem>
                      <listitem>
  
  
  
  1.70      +2 -2      jboss-seam/doc/reference/en/modules/tutorial.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: tutorial.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/tutorial.xml,v
  retrieving revision 1.69
  retrieving revision 1.70
  diff -u -b -r1.69 -r1.70
  --- tutorial.xml	24 Oct 2006 14:28:18 -0000	1.69
  +++ tutorial.xml	14 Nov 2006 05:23:34 -0000	1.70
  @@ -1530,7 +1530,7 @@
                   </h:inputText>
               </h:column>
               <h:column>
  -                <s:link value="Done" action="#{todoList.done}" taskInstance="#{task}" linkStyle="button"/>
  +                <s:button value="Done" action="#{todoList.done}" taskInstance="#{task}"/>
               </h:column>
            </h:dataTable>
         </div>
  @@ -1614,7 +1614,7 @@
           </para>
   
           <programlisting><![CDATA[<h:column>
  -    <s:link value="Done" action="#{todoList.done}" taskInstance="#{task}" linkStyle="button"/>
  +    <s:button value="Done" action="#{todoList.done}" taskInstance="#{task}"/>
   </h:column>]]></programlisting>
   
           <para>
  
  
  



More information about the jboss-cvs-commits mailing list