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 15:37:52 GMT
Alessandro Vincelli schrieb:

Hi,

> 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
> <fb:on-insert-row>
>             <fb:insert-bean classname="w4b.com.cassagest.db.Docuassist"
> addmethod="add"/>
>         </fb:on-insert-row>
> 
> But I have this problem:
> 
> java.lang.NoSuchMethodException:
> org.apache.ojb.broker.util.collections.RemovalAwareCollection.add(w4b.com.cassagest.db.Docuassist)

> Any idea?

If nothing else works, you can add it yourself in some javascript
snippet in the corresponding event javascript-section.

Sorry, i don't know where your problem comes from.

Christoph

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message