I see this example in supersonic tour bean editor
repeater binding:
<fb:on-insert-row>
<fb:insert-bean
classname="org.apache.cocoon.samples.tour.beans.TaskCommentBean"
addmethod="addComment"/>
</fb:on-insert-row>
The parent beans add method is called to insert a new child row.
What if there is no 'addChild' method available such as in one-to-many
sets generated in pojo's by hbm2java for hibernate. In this case the
parent has a: public Set getChildren() and you normally do:
parent.getChildren().add(newChild);
Is there a way to do some kind of <fb:javascript/>
inside the <fb:on-insert-row> to do a custom
addmethod? I would prefer to
use the hbm2java objects as is,
thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]