cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: CForms: widget states added
Date Wed, 03 Nov 2004 10:51:36 GMT
Joerg Heinicke wrote:

> On 03.11.2004 09:06, Sylvain Wallez wrote:
>>> Does it fix this one?
>> Mmmh... not sure, although you can prevent a widget from reading its 
>> value from the request by setting it's state do "disabled". This bug 
>> is more likely to be fixed by having widgets only changing their 
>> values *if* the corresponding request parameter is present, as 
>> proposed by Tim in the "[lazy vote] cforms request processing thread".
> I don't think so. The bug was about an analogy to @direction="load" in 
> binding. Having a widget with output styling does not prevent it from 
> reading from request though there will not be request parameter of it.

That's exactly what the request processing thread is all about: don't 
change a widget's value if the corresponding request parameter doesn't 
exist. That's exactly the case of output styling.

> So I'm about to close the bug if the widget states work - what I 
> assume ;-)

I would wait for this do-not-reset-value-if-parameter-is-not-present 
thing to be implemented.


Sylvain Wallez                                  Anyware Technologies 
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }

View raw message