Hi Hiedra,

Thanks!

So doing what you said works:

<j:Disabled disabled="{!appModel.isEnabled}"/>

But it only disables every child. it doesn't show the semi transpanrent
black overlay that appears when you open a popup for example. That is what
I was going for.

Any ideas?

David

On Wed, 10 Mar 2021 at 12:22, Maria Jose Esteve <[email protected]> wrote:

> 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
>


-- 

*David Slotemaker de Bruïne*
*Head of Educational Robotics*



Av. Sarriá, 130 - 08017 Barcelona
<https://maps.google.com/?q=Av.+Sarri%C3%A1,+130+-+08017+Barcelona&entry=gmail&source=g>


T. +34 932 523 729 ext. 135

[email protected]

Reply via email to