click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r930845 - /click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java
Date Mon, 05 Apr 2010 11:55:52 GMT
Author: sabob
Date: Mon Apr  5 11:55:52 2010
New Revision: 930845

URL: http://svn.apache.org/viewvc?rev=930845&view=rev
Log:
javadoc

Modified:
    click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java

Modified: click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java?rev=930845&r1=930844&r2=930845&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java (original)
+++ click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java Mon Apr  5
11:55:52 2010
@@ -381,13 +381,13 @@ public class PickList extends Field {
      *   list.addAll(getCustomerService().getCustomerTypes(), "id", "name);
      *   form.add(list); </pre>
      *
-     * For example given the Collection of CustomerType <tt>objects</tt>,
-     * <tt>value</tt> "id" and <tt>label</tt> "name", the <tt>id</tt>
and
-     * <tt>name</tt> properties of each CustomerType will be retrieved. For each
-     * CustomerType in the Collection a new {@link org.apache.click.control.Option}
-     * instance is created and its <tt>value</tt> and <tt>label</tt>
is set to
-     * the <tt>value</tt> and <tt>label</tt> retrieved from the CustomerType
-     * instance.
+     * For example, given a Collection of CustomerType <tt>objects</tt>,
+     * <tt>optionValueProperty</tt> "id" and <tt>optionLabelProperty</tt>
"name",
+     * the <tt>id</tt> and <tt>name</tt> properties of each CustomerType
will
+     * be retrieved. For each CustomerType in the Collection a new
+     * {@link org.apache.click.control.Option} instance is created and its
+     * <tt>value</tt> and <tt>label</tt> is set to the <tt>id</tt>
+     * and <tt>name</tt> retrieved from the CustomerType instance.
      *
      * @param objects the collection of objects to render as options
      * @param optionValueProperty the name of the object property to render as



Mime
View raw message