Mark Lundquist wrote:
Hi,
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?
Because nobody really asked for it so clearly :-)
I've seen several requests also to be able to change a field's label.
That one is a bit more complicated in Ajax scenarios because the label
and field are handled separately in the form template. But certainly doable!
Sylvain
--
Sylvain Wallez Anyware Technologies
http://people.apache.org/~sylvain http://www.anyware-tech.com
Apache Software Foundation Member Research & Technology Director