Return-Path: Delivered-To: apmail-click-commits-archive@www.apache.org Received: (qmail 69318 invoked from network); 5 Apr 2010 11:56:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Apr 2010 11:56:16 -0000 Received: (qmail 71361 invoked by uid 500); 5 Apr 2010 11:56:16 -0000 Delivered-To: apmail-click-commits-archive@click.apache.org Received: (qmail 71341 invoked by uid 500); 5 Apr 2010 11:56:16 -0000 Mailing-List: contact commits-help@click.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: click-dev@click.apache.org Delivered-To: mailing list commits@click.apache.org Received: (qmail 71333 invoked by uid 99); 5 Apr 2010 11:56:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 11:56:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 11:56:14 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0332F2388903; Mon, 5 Apr 2010 11:55:53 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r930845 - /click/trunk/click/extras/src/org/apache/click/extras/control/PickList.java Date: Mon, 05 Apr 2010 11:55:52 -0000 To: commits@click.apache.org From: sabob@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100405115553.0332F2388903@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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); * - * For example given the Collection of CustomerType objects, - * value "id" and label "name", the id and - * name 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 value and label is set to - * the value and label retrieved from the CustomerType - * instance. + * For example, given a Collection of CustomerType objects, + * optionValueProperty "id" and optionLabelProperty "name", + * the id and name 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 + * value and label is set to the id + * and name 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