cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira>
Subject Re: passing data from flow to jx (lots of typing)
Date Fri, 05 Nov 2004 11:17:15 GMT
Bart Molenkamp wrote:

>>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.
And then use the FormTransformer to put values into the form given <ft:> 
entries in your template.


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

View raw message