You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Sylvain Wallez <sy...@apache.org> on 2004/11/02 11:12:01 UTC
CForms: widget states added
Hi all,
I finally added widget states to CForms. All widgets can have a "state"
attribute withe the values "active" (the default), "disabled" or
"invisible", which are defined in a new WidgetState class.
In disable state, values are displayed, but are not read from the
request. In invisible state, nothing is displayed (not even labels) and
values are of course not read from the request. The stylesheets have
been updated so that disabled widgets are displayed using disabled html
inputs (eh!).
Tim, this new widget state feature conflicts with your
"getProcessingRequests()" stuff in 2.2, and I think your "swan"
experiment could be updated to use widget states.
Sylvain
--
Sylvain Wallez Anyware Technologies
http://www.apache.org/~sylvain http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }