[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Gavin King
gavin.king at jboss.com
Tue Nov 14 00:28:04 EST 2006
User: gavin
Date: 06/11/14 00:28:04
Modified: doc/reference/en/modules conversations.xml events.xml
tutorial.xml
Log:
s:button
Revision Changes Path
1.16 +7 -7 jboss-seam/doc/reference/en/modules/conversations.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: conversations.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/conversations.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- conversations.xml 14 Jul 2006 03:26:32 -0000 1.15
+++ conversations.xml 14 Nov 2006 05:28:03 -0000 1.16
@@ -354,7 +354,7 @@
</section>
<section>
- <title>Using <literal><s:link></literal></title>
+ <title>Using <literal><s:link></literal> and <literal><s:button></literal></title>
<para>
JSF command links always perform a form submission via JavaScript,
@@ -420,12 +420,6 @@
<programlisting><![CDATA[<s:link view="/loggedOut.xhtml" action=â#{login.logout}â value=âLogoutâ/>]]></programlisting>
<para>
- The link may be rendered as a button:
- </para>
-
- <programlisting><![CDATA[<s:link action=â#{login.logout}â value=âLogoutâ style=âbuttonâ/>]]></programlisting>
-
- <para>
The link automatically propagates the selected row of a <literal>DataModel</literal>
using inside <literal><h:dataTable></literal>:
</para>
@@ -461,6 +455,12 @@
(See the DVD Store demo application for examples of this.)
</para>
+ <para>
+ Finally, if you need the "link" to be rendered as a button, use <literal><s:button></literal>:
+ </para>
+
+ <programlisting><![CDATA[<s:button action=â#{login.logout}â value=âLogoutâ/>]]></programlisting>
+
</section>
<section>
1.5 +3 -3 jboss-seam/doc/reference/en/modules/events.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: events.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/events.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- events.xml 10 Nov 2006 19:23:44 -0000 1.4
+++ events.xml 14 Nov 2006 05:28:03 -0000 1.5
@@ -146,9 +146,9 @@
</listitem>
<listitem>
<para>
- Any <literal><s:link></literal> transparently includes the
- request parameter. The value of the parameter is determined by
- evaluating the value binding during the render phase (when the
+ Any <literal><s:link></literal> or <literal><s:button></literal>
+ transparently includes the request parameter. The value of the parameter is
+ determined by evaluating the value binding during the render phase (when the
<literal><s:link></literal> is rendered).
</para>
</listitem>
1.71 +1 -1 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.70
retrieving revision 1.71
diff -u -b -r1.70 -r1.71
--- tutorial.xml 14 Nov 2006 05:23:34 -0000 1.70
+++ tutorial.xml 14 Nov 2006 05:28:03 -0000 1.71
@@ -1618,7 +1618,7 @@
</h:column>]]></programlisting>
<para>
- (Note that this is using a Seam <literal><s:link></literal> JSF control
+ (Note that this is using a Seam <literal><s:button></literal> JSF control
from the <literal>seam-ui.jar</literal> package.)
</para>
More information about the jboss-cvs-commits
mailing list