[seam-commits] Seam SVN: r7255 - branches/Seam_2_0/doc/reference/en/modules.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Mon Jan 28 08:46:53 EST 2008
Author: pete.muir at jboss.org
Date: 2008-01-28 08:46:53 -0500 (Mon, 28 Jan 2008)
New Revision: 7255
Modified:
branches/Seam_2_0/doc/reference/en/modules/controls.xml
Log:
Backport of JBSEAM-2542
Modified: branches/Seam_2_0/doc/reference/en/modules/controls.xml
===================================================================
--- branches/Seam_2_0/doc/reference/en/modules/controls.xml 2008-01-28 13:40:00 UTC (rev 7254)
+++ branches/Seam_2_0/doc/reference/en/modules/controls.xml 2008-01-28 13:46:53 UTC (rev 7255)
@@ -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><s:link /></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><s:link /></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