Hi, with the bead "Disabled" and the property "disabled" that you will be able
to bind as you did with "enabled".
There are different Disabled beads depending on the component, .. if I remember
correctly.
For example ... for List, TextInput, Checkbox is "Disabled", but the ComboBox
has one for it, the "ComboBoxDisabled"
This is an example:
<j:CheckBox localId="cbRespDto" selected="{pmodel.selectedItem.notresdep}">
<j:beads>
<j:Disabled disabled="{noEditGen}"/>
</j:beads>
</j:CheckBox>
There are examples in the TDJ and in other examples on the blog.
Hiedra
-----Mensaje original-----
De: David Slotemaker de Bruine <[email protected]>
Enviado el: miƩrcoles, 10 de marzo de 2021 12:08
Para: [email protected]
Asunto: Enable and Disable Application
Hi,
In Flex, the Application and View Containters had the "enabled" property that
you could bind to the model so that when you had remote calls executing you
could disable the UI if you wanted.
How do we go about doing that in Royal?
Cheers,
David