Vadim Gritsenko wrote:

Marc Portier wrote:



Vadim Gritsenko wrote:

Marc Portier wrote:


<snip topic="use cases on introducing some direction control on all bindings" />


my proposal was to add some @direction="load|save|both"


Good examples. But I'm not sure I like "direction" attribute. Can we just add "writeonly" attribute, in addition to "readonly"?


Vadim


Vadim,
I started refactoring the bindings for this, but still have to decide how the builder will retrieve the settings from the binding-declaration file


After considering your proposal I'm pretty much at the position of siwtching back to my original proposal. There are two cases introduced by the @readonly @writeonly couple that make it odd IMHO

1/ readonly="true" writeonly="true"

kinda fights with the meaning of 'only' as a suffix

2/ readonly="false" writeonly="false"

which would be the equivalent of direction="none" :-)

for fast testing without a binding I would recommend to people that they just comment out that section :-)

-marc=
--
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