Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 56380 invoked from network); 30 May 2004 14:50:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 May 2004 14:50:32 -0000 Received: (qmail 93008 invoked by uid 500); 30 May 2004 14:50:22 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 92994 invoked by uid 500); 30 May 2004 14:50:22 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 92980 invoked by uid 99); 30 May 2004 14:50:22 -0000 Received: from [213.180.130.29] (HELO smtp3.poczta.onet.pl) (213.180.130.29) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 30 May 2004 07:50:22 -0700 Received: from akb202.neoplus.adsl.tpnet.pl ([83.27.155.202]:5636 "EHLO zeppelin") by ps3.test.onet.pl with ESMTP id ; Sun, 30 May 2004 16:16:34 +0200 Message-ID: <003b01c44650$b9445e10$0200a8c0@zeppelin> From: "Bartosz Zgodzinski" To: References: Subject: multivalue field - setValues() Date: Sun, 30 May 2004 16:16:38 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N When a want to inicialize a single checkbox a write: form.getWidget("single_checkbox").setValue(true); What shouuld I do when a have a multivalue field with list-type="checkbox"? I supose I should use setValeus, like this: form.getWidget("multi_checkbox").setValues(???); What should I write there (???). I know that this should be Object[], but I don't know what does it sxacly mean? Please give me an example. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org