Joerg Heinicke wrote:

On 03.11.2004 09:06, Sylvain Wallez wrote:

Does it fix this one?
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27598


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

--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



Reply via email to