Page 1 of 1

styleClass depends on property (like editable)

PostPosted: Wed Jul 05, 2006 12:39 pm
by Willem
For editable and non-editable fields we use different styleClasses in order to show the user where to put their data. Now, we have to manually deselect the property "editable" AND attach the styleClass "display" to all non-editable fields (for a grey background).

It would save us time and UI-bugs when we could define a styleClass (i.e. field.editable.false) in which a grey background is defined and have Servoy automatically apply that style when the property "editable" is false.