[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Peter Muir
peter at bleepbleep.org.uk
Mon Jan 29 19:06:01 EST 2007
User: pmuir
Date: 07/01/29 19:06:01
Modified: doc/reference/en/modules controls.xml
Log:
JBSEAM-709 Add doc for s:selectItems
Revision Changes Path
1.15 +42 -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.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- controls.xml 28 Jan 2007 22:23:07 -0000 1.14
+++ controls.xml 30 Jan 2007 00:06:01 -0000 1.15
@@ -8,6 +8,10 @@
recommend the use of the Tomahawk tag library.
</para>
+ <para>
+ The ui example demonstrates the use of a number of these tags.
+ </para>
+
<variablelist>
<varlistentry>
<term><literal><s:validate></literal></term>
@@ -74,6 +78,44 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><literal><s:selectItem></literal></term>
+ <listitem>
+ <para>
+ Creates a <literal>List<SelectItem></literal> from a List, Set, DataModel or Array.
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <literal>value</literal> — an EL expression specifying the data that backs the <literal>List<SelectItem></literal>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>var</literal> — defines the name of the local variable that holds the current object during iteration
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>label</literal> — the label to be used when rendering the <literal>SelectItem</literal>. Can reference
+ the <literal>var</literal> variable
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>noSelectionLabel</literal> — specifies the (optional) label to place at the top of list (if
+ <literal>required="true"</literal> is also specified then selecting this value will cause a validation error)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>hideNoSelectionLabel</literal> — if true, the <literal>noSelectionLabel</literal> will be hidden
+ when a value is selected
+ </para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><literal><s:decorate></literal></term>
<listitem>
<para>
More information about the jboss-cvs-commits
mailing list