[seam-commits] Seam SVN: r7253 - trunk/doc/reference/en/modules.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Jan 28 08:37:37 EST 2008


Author: pete.muir at jboss.org
Date: 2008-01-28 08:37:37 -0500 (Mon, 28 Jan 2008)
New Revision: 7253

Modified:
   trunk/doc/reference/en/modules/controls.xml
Log:
JBSEAM-2542

Modified: trunk/doc/reference/en/modules/controls.xml
===================================================================
--- trunk/doc/reference/en/modules/controls.xml	2008-01-28 12:56:18 UTC (rev 7252)
+++ trunk/doc/reference/en/modules/controls.xml	2008-01-28 13:37:37 UTC (rev 7253)
@@ -90,6 +90,12 @@
             <para><emphasis>Usage</emphasis></para>
             <programlisting><![CDATA[<s:button id="cancel" value="Cancel" 
           action="#{hotelBooking.cancel}"/>]]></programlisting>
+            <para>
+               You can specify both <literal>view</literal> and <literal>action</literal>
+               on <literal>&lt;s:link /&gt;</literal>. In this case, the action 
+               will be called once the redirect to the specified view has
+               occured.
+            </para>
           </entry>
         </row>
 
@@ -833,6 +839,12 @@
             <para><emphasis>Usage</emphasis></para>
             <programlisting><![CDATA[<s:link id="register" view="/register.xhtml" 
         value="Register New User"/>]]></programlisting>
+            <para>
+               You can specify both <literal>view</literal> and <literal>action</literal>
+               on <literal>&lt;s:link /&gt;</literal>. In this case, the action 
+               will be called once the redirect to the specified view has
+               occured.
+            </para>
           </entry>
         </row>
 




More information about the seam-commits mailing list