click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From take...@apache.org
Subject svn commit: r746622 - /incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java
Date Sun, 22 Feb 2009 02:43:14 GMT
Author: takezoe
Date: Sun Feb 22 02:43:14 2009
New Revision: 746622

URL: http://svn.apache.org/viewvc?rev=746622&view=rev
Log:
[CLK-490]Add PickList#getValueObject() that returns a result of getSelectedValues().

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

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java?rev=746622&r1=746621&r2=746622&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java Sun
Feb 22 02:43:14 2009
@@ -460,6 +460,17 @@
         }
         return selectedValues;
     }
+    
+    /**
+     * Returns the values list {@link #getSelectedValues()} return a list or String.
+     *
+     * @see org.apache.click.control.Field#getValueObject()
+     *
+     * @return List of selected values (Strings)
+     */
+    public Object getValueObject() {
+        return getSelectedValues();
+    }
 
     /**
      * Set the component size.



Mime
View raw message