Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 26773 invoked from network); 8 Feb 2006 15:21:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Feb 2006 15:21:05 -0000 Received: (qmail 37897 invoked by uid 500); 8 Feb 2006 15:21:00 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 37871 invoked by uid 500); 8 Feb 2006 15:21:00 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 37860 invoked by uid 99); 8 Feb 2006 15:20:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2006 07:20:59 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.19.104.101] (HELO xavier.w4b.it) (212.19.104.101) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2006 07:20:59 -0800 Received: from [192.168.0.24] ([192.168.0.24]) by xavier.w4b.it (8.12.8/8.12.8) with ESMTP id k18FkI37017171 for ; Wed, 8 Feb 2006 16:46:19 +0100 Message-ID: <43EA0C44.6020509@w4b.it> Date: Wed, 08 Feb 2006 16:20:36 +0100 From: Alessandro Vincelli User-Agent: Mozilla Thunderbird 1.0.7 (X11/20060207) X-Accept-Language: it, it-it, en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: CFORM - repeater , add-row on OJB collection References: <43E9FB6F.8010304@w4b.it> <43E9FFBC.8060307@guschtel.de> In-Reply-To: <43E9FFBC.8060307@guschtel.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N thanks, But the situation if different from the example. I have form-repeater similar to exaple in the link, and work fine. In this situation I try to add Bean directly to a collection from OJB. The collection is returned from OJB. org.apache.ojb.broker.util.collections.RemovalAwareCollection The RemovalAwareCollection has RemovalAwareCollection.add(java.lang.Object) RemovalAwareCollection.ojbAdd(java.lang.Object) and in bind I use this method But I have this problem: java.lang.NoSuchMethodException: org.apache.ojb.broker.util.collections.RemovalAwareCollection.add(w4b.com.cassagest.db.Docuassist) Any idea? ------------------------------- Alessandro Vincelli W4B - web for business s.r.l. Firenze via Pellicceria 10 - 50123 E-mail: a.vincelli@w4b.it tel: 055-2654270 Christoph Hermann ha scritto: > Alessandro Vincelli schrieb: > > >>The problem occur when i try to insert new row >> >>I receive this error on: >>form.save(Elenco); > > >>java.lang.NoSuchMethodException: >>org.apache.ojb.broker.util.collections.RemovalAwareCollection.add(w4b.com.cassagest.db.Docuassist) > > >>in my binding definition I have this: >> >> >addmethod="add"/> >> > > >>How Can I add object to a Collection from OJB? > > > This (forget about the jdo stuff): > http://www.guschtel.de/HP5/linux/ojbjdo_dmton.php > should get you started, you can specify a method in the binding. > > HTH > Christoph > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org