cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart Molenkamp" <>
Subject RE: passing data from flow to jx (lots of typing)
Date Fri, 05 Nov 2004 10:57:39 GMT

> If not i will just keep
> on typing... ;) Does the "binding framwork" make that step obsolete?

Yes, the binding framework makes this step obsolete. You can easily bind
your form to a JavaBean or an XML document. Then pass this to your
JXTemplate. In flow code, this are just a few lines of code:

var myForm = new Form("form.xml");
cocoon.sendPage("result.html", {model: myModel});

And that's it. When you add/remove fields to your form, you don't have
to change the code here.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message