cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: [cforms] New Repeater Binding Semantics (was Re: CocoonForms simple-repeater binding sample?)
Date Wed, 10 Dec 2003 11:54:45 GMT
Marc Portier wrote:

> 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" :-)


Ok, go ahead with "direction".

Vadim



Mime
View raw message