cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist>
Subject [cforms] settable Field 'required' property?
Date Tue, 08 Nov 2005 23:28:28 GMT

Currently, Field'isRequired() delegates to its FieldDefinition.  How 
badly would it break everything :-) if instead there were an instance 
variable that's (a) initialized from getFieldDefinition().isRequired(), 
and then (b) settable via a setRequired() method?

Sometimes you just really want to say

	someWidget.required = false;

in flowscript.  Why shouldn't that be possible?


View raw message