Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 43100 invoked from network); 21 Nov 2004 08:09:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Nov 2004 08:09:59 -0000 Received: (qmail 59622 invoked by uid 500); 21 Nov 2004 08:09:50 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 59493 invoked by uid 500); 21 Nov 2004 08:09:49 -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 59462 invoked by uid 99); 21 Nov 2004 08:09:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [194.89.68.25] (HELO cellula.intertechnika.com) (194.89.68.25) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 21 Nov 2004 00:09:45 -0800 Received: from localhost (localhost.localdomain [127.0.0.1]) by cellula.intertechnika.com (Postfix) with ESMTP id 3D72982CF1 for ; Sun, 21 Nov 2004 10:09:40 +0200 (EET) Received: from cellula.intertechnika.com ([127.0.0.1]) by localhost (cellula.intertechnika.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11667-02 for ; Sun, 21 Nov 2004 10:09:40 +0200 (EET) Received: from [192.168.100.6] (kamner4.org.helsinki.fi [128.214.191.196]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by cellula.intertechnika.com (Postfix) with ESMTP id F2FC682CF0 for ; Sun, 21 Nov 2004 10:09:39 +0200 (EET) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: References: <6DDFEE36-3A83-11D9-BE99-000A95C53096@iki.fi> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Joose Vettenranta Subject: Re: [NOT SOLVED] [SOLVED] cforms + binding to array Date: Sun, 21 Nov 2004 10:09:53 +0200 To: users@cocoon.apache.org X-Mailer: Apple Mail (2.619) X-Virus-Scanned: by amavisd-new at intertechnika.com X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Aaand answering to myself again.. I think it did work, but my test=20 class was broken.. =3D) - Joose 20.11.2004 kello 15:26, Joose Vettenranta kirjoitti: Hi, > > well, I got it to READ values, but I can't make it to SAVE those=20 > values.. Anyideas how to accomplish that? > > If I make class=3D"java.lang.String" it saves just same as saving=20 > String[].class; > > class=3D"java.lang.String[]" -> does not work > > and addItem (String value) -> addItem(Object value) {=A0String[]=20 > newValue =3D (String[]) value; .. } does not work eather. > > Ideas? > > Thanks, > > Joose > > 20.11.2004 kello 10:54, Joose Vettenranta kirjoitti: > > Hi, >> >> testing and trying and I solved it.. >> >> path=3D".[index]" and index starts from 1 not from 0. >> >> - Joose >> >> 20.11.2004 kello 01:33, Joose Vettenranta kirjoitti: >> >> Hi, >>> >>> I have a bean which has Collection items; >>> >>> and then I have a String[]=A0values =3D new String[3]; and then I = have=20 >>> this.items.add(values); >>> >>> but how in CForms can I bind to different index of the String-array? >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Would that work? most likely not.. how could it be made to work or=20= >>> is it impossoble to bind to a index of an array? >>> >>> Thanks, >>> >>> Joose >>> >>> -- >>> "Always remember that you are unique, just like everyone else!" >>> * http://iki.fi/joose/ * joose@iki.fi * +358 44 561 0270 * >>> >>> = --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >>> For additional commands, e-mail: users-help@cocoon.apache.org >>> >>> >> -- >> "Always remember that you are unique, just like everyone else!" >> * http://iki.fi/joose/ * joose@iki.fi * +358 44 561 0270 * >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >> For additional commands, e-mail: users-help@cocoon.apache.org >> >> > -- > "Always remember that you are unique, just like everyone else!" > * http://iki.fi/joose/ * joose@iki.fi * +358 44 561 0270 * > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > -- "Always remember that you are unique, just like everyone else!" * http://iki.fi/joose/ * joose@iki.fi * +358 44 561 0270 * --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org