You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2006/08/23 07:22:02 UTC
svn commit: r433908 -
/myfaces/core/trunk/impl/src/main/tld/entities/ui_output_attributes.xml
Author: mmarinschek
Date: Tue Aug 22 22:22:01 2006
New Revision: 433908
URL: http://svn.apache.org/viewvc?rev=433908&view=rev
Log:
changed documentation of value to be a bit more component specific - value is an inherited property, so it was necessary to change it globally
Modified:
myfaces/core/trunk/impl/src/main/tld/entities/ui_output_attributes.xml
Modified: myfaces/core/trunk/impl/src/main/tld/entities/ui_output_attributes.xml
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/tld/entities/ui_output_attributes.xml?rev=433908&r1=433907&r2=433908&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/tld/entities/ui_output_attributes.xml (original)
+++ myfaces/core/trunk/impl/src/main/tld/entities/ui_output_attributes.xml Tue Aug 22 22:22:01 2006
@@ -5,7 +5,24 @@
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<type>java.lang.String</type>
- <description>The initial value of this component.</description>
+ <description>
+ The initial value of this component. This value is generally
+ set as a value-binding in the form #{myBean.myProperty}, where
+ myProperty can be any data-type of Java (also user-defined data-types),
+ if a converter for this data-type exists.
+
+ Special cases:
+
+ 1) f:selectItems - value needs to bind to a list (or an array) of javax.faces.model.SelectItem-instances
+
+ 2) components implementing UISelectMany (e.g. h:selectManyCheckbox) -
+ value needs to bind to a list (or an array) of values, where the values need to be
+ of the same data-type as the choices of the associated f:selectItems-component
+
+ 3) components implementing UIData (e.g. h:dataTable) -
+ value needs to bind to a list (or an array) of values,
+ which will be iterated over when the data-table is processed
+ </description>
</attribute>
<attribute>
<name>converter</name>