Hi all,

Specially for those working on cvs-head

I just did a commit on the woody-binding stuff that introduces an attribute @direction on each binding element.

The value of the attribute should be one of 'both'(default), 'load' or 'save' and naturally indicates which binding-directions are active on the given binding-elements.

Important thing to note is that two bindings: wb:value and wb:javascript already had some @readonly setting that is now no longer supported.

After doing an update you will need to change your binding files so the possible use of @readonly="true" on these elements gets replaced by @direction="load"


More on why this feaure is there:
- described use cases: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=107062380411523&w=2
- @direction choice: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=107105729827081&w=2



I already changed the docs to reflect the update over here: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyBinding

regards,
and comments welcome of course.

-marc=
PS: more refactoring in the binding area are foreseen
--
Marc Portier                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at                http://blogs.cocoondev.org/mpo/
[EMAIL PROTECTED]                              [EMAIL PROTECTED]




Reply via email to