[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Peter Muir
peter at bleepbleep.org.uk
Tue Oct 16 10:53:55 EDT 2007
User: pmuir
Date: 07/10/16 10:53:55
Modified: doc/reference/en/modules annotations.xml
Log:
JBSEAM-1930
Revision Changes Path
1.73 +15 -4 jboss-seam/doc/reference/en/modules/annotations.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: annotations.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/annotations.xml,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -b -r1.72 -r1.73
--- annotations.xml 3 Sep 2007 16:15:06 -0000 1.72
+++ annotations.xml 16 Oct 2007 14:53:54 -0000 1.73
@@ -1011,8 +1011,13 @@
</term>
<listitem>
<programlisting><![CDATA[@DataModelSelection]]></programlisting>
- <para> Injects the selected value from the JSF <literal>DataModel</literal> (this is the element of
- the underlying collection, or the map value). </para>
+ <para>
+ Injects the selected value from the JSF <literal>DataModel</literal> (this is the element of
+ the underlying collection, or the map value). If only one <literal>@DataModel</literal> attribute
+ is defined for a component, the selected value from that <literal>DataModel</literal> will be
+ injected. Otherwise, the component name of each <literal>@DataModel</literal> must be specified
+ in the value attribute for each <literal>@DataModelSelection</literal>.
+ </para>
<para> If <literal>PAGE</literal> scope is specified on the associated <literal>@DataModel</literal>,
then, in addition to the DataModel Selection being injected, the associated DataModel will
also be injected. In this case, if the property annotated with <literal>@DataModel</literal> is
@@ -1033,8 +1038,14 @@
</term>
<listitem>
<programlisting><![CDATA[@DataModelSelectionIndex]]></programlisting>
- <para> Exposes the selection index of the JSF <literal>DataModel</literal> as an attribute of the
- component (this is the row number of the underlying collection, or the map key). </para>
+ <para>
+ Exposes the selection index of the JSF <literal>DataModel</literal> as an attribute of the
+ component (this is the row number of the underlying collection, or the map key). If only one
+ <literal>@DataModel</literal> attribute is defined for a component, the selected value from
+ that <literal>DataModel</literal> will be injected. Otherwise, the component name of each
+ <literal>@DataModel</literal> must be specified in the value attribute for each
+ <literal>@DataModelSelectionIndex</literal>.
+ </para>
<itemizedlist>
<listitem>
<para>
More information about the jboss-cvs-commits
mailing list