cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: Different Bindings to more than one document or model
Date Fri, 13 Feb 2004 10:41:00 GMT
Björn Voigt wrote:

>Moin Cocooners,
>
>I use Woody of cocoon 2.1.3 and I have to Form, which
>holds Data of two models, a xml-document and a bean.
>
>Is it possible to define different bindings 
>for these models, which I can call like:
>
>[...]
>
>form.load(bean, "binding1");
>form.save(bean, "binding1");
>
>form.load(document,"binding2");
>form.save(document,"binding2");
>
>[...]
>
>Gruß
>
>Björn
>  
>
Look into the code in woody2.js. You'll see how the bindings are handled 
in Javascript. Instead of using the woody2.js binding code, you can do 
it yourself, and as far as I can see, you'd have no problem with this.

Upayavira





Mime
View raw message