Dynamic disabling of fields

Hello,

create a boolean property and connect it with “displayonly” of the TEXT-component.

Eventually you have to reload/refresh your page.

Regards
I.

…in addition to the FIELD’s VALUEPROP (that provides for the display text) know use…

  • STATUSPROP

…to control the field display status. Your status property is of type String and returns one of the available CS_* constants…

  • CS_EDIT (the default status)
    CS_DISPLAY ==> field is disabled
    CS_ERRORR ==> field shows a red background color
    CS_…

The CS_* constants are available within your page adapter. At any other place access them like…

  • IControlStatusConstants.CS_*

Martin