Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 18649 invoked from network); 9 Nov 2004 16:42:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Nov 2004 16:42:48 -0000 Received: (qmail 87574 invoked by uid 500); 9 Nov 2004 16:41:52 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 87518 invoked by uid 500); 9 Nov 2004 16:41:51 -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 87487 invoked by uid 99); 9 Nov 2004 16:41:51 -0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [193.70.192.127] (HELO smtp3.libero.it) (193.70.192.127) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 09 Nov 2004 08:41:48 -0800 Received: from localhost (172.16.1.84) by smtp3.libero.it (7.0.027-DD01) id 4178F14A00479404 for users@cocoon.apache.org; Tue, 9 Nov 2004 17:41:45 +0100 Received: from libero.it (172.16.1.107) by smtp0.libero.it (7.0.027-DD01) id 40C7336000EDD32E for users@cocoon.apache.org; Tue, 9 Nov 2004 17:41:45 +0100 Date: Tue, 9 Nov 2004 17:41:45 +0100 Message-Id: Subject: Re: Newbie question about fd:multivaluefield MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "angeloimm" To: "users" X-XaM3-API-Version: 4.1 (B27) X-type: 0 X-SenderIP: 213.255.108.193 X-Virus-Scanned: by amavisd-new at libero.it serv5 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ---------- Initial Header ----------- >From : "Jean-Baptiste Queno= t" jbq@anyware-tech.com To : "Help Cocoon" users@cocoon.apache.= org Cc : Date : Tue, 9 Nov 2004 17:31:48 +0100 Subject = : Re: Newbie question about fd:multivaluefield > * angeloimm: > > >= How can i have the selction of the list of the form in my function? By=0D = > > using lookupWidget i know that folder_2 is a MultiValueField... bu= t > > how can i have its value? If i use folder_2.getValue(); i h= ave: > > [Ljava.lang.Object;@11067af > > The last line means: list of= objects. In fact Hi first of all thanks for your answer. I kno= w that [Ljava.lang.Object;@11067af means a Java array... but i don't kno= w how to handle it in the flow script; infact if i try to do so: for( v= ar u =3D 0; u < relazioni.getValue().lenght; u++ ){ print( "Elemen= to: "+u +" "+ relazioni.getValue()[u] ); } i have this error: org.mo= zilla.javascript.EvaluatorException: Java class "[Ljava.lang.Object;" has= no public instance field or method named "lenght". what i want to know = is how i can take the choosen value from the user in the MultiValueField = in the flow script. Thanks > MultiValueField.getValue() returns a J= ava array. > -- > Jean-Baptiste Quenot > Anyware Technologies > http= ://www.anyware-tech.com/ > > -----------------------------------------= ---------------------------- > To unsubscribe, e-mail: users-unsubscribe= @cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.= apache.org > > =0A=0A=0A=0A___________________________________________= _________________=0ALibero ADSL: navighi gratis a 1.2 Mega, senza canone = e costi di attivazione. =0AAbbonati subito su http://www.libero.it =0A --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org