cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Hermann <christoph.herm...@guschtel.de>
Subject Re: CFORM - repeater , add-row on OJB collection
Date Wed, 08 Feb 2006 14:27:08 GMT
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:
>         <fb:on-insert-row>
>             <fb:insert-bean classname="w4b.com.cassagest.db.Docuassist"
> addmethod="add"/>
>         </fb:on-insert-row>

> 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


Mime
View raw message