cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yatin Shah <nos...@kripa.com>
Subject Woody(cocoon forms): wb:repeater
Date Thu, 04 Dec 2003 07:46:52 GMT
Hello!

Is it possible to use a javascript function to do insert-bean processing?

In form2bean example a java class(Form2Bean.java ) is used for the data 
model.
This class includes a method(addContact) to add instances of Contact 
class to the internal ArrayList object.
The supplied binding sample uses the following construct :

    <wb:on-insert-row>
      <wb:insert-bean
        classname="org.apache.cocoon.woody.samples.Contact"
        addmethod="addContact"/>
    </wb:on-insert-row>

If I'm using javascript objects and arrays for my model, is there any 
way to specify javascript function for adding a
new instance of class to my data model?

TIA
-Yatin

My Env:
Cocoon: cvs version of Nov 07, 2003.
Linux, JDK 141 running on Jetty.


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


Mime
View raw message