trying this out! It will simplify my code in many places!
Brian
From: Carlos Rovira
Sent: Sunday, January 24, 2021 2:27 AM
To: users@royale.apache.org
Subject: Re: [EXTERNAL] Popup and Databinding with Crux (RE: Popup and
Databinding)
Hi Maria Jose,
I think that could be probably a false positive
dispatchEvent(*new* BeanEvent(BeanEvent.
> REMOVE_BEAN,viewBead.content));
>
> viewBead.content.removeEventListener("closePopUp"
> , closePopUpHandler);
>
> }
>
> }
>
>
>
> Thx
>
> Hiedra.
>
>
>
> *De:*
wBead.content));
viewBead.content.removeEventListener("closePopUp",
closePopUpHandler);
}
}
Thx
Hiedra.
De: Carlos Rovira
Enviado el: sábado, 23 de enero de 2021 16:35
Para: users@royale.apache.org
Asunto: Re: [EXTERNAL] Popup and Databinding with Crux (RE: Popup an
iernes, 22 de enero de 2021 20:09
> *Para:* users@royale.apache.org
> *Asunto:* Re: [EXTERNAL] Popup and Databinding with Crux (RE: Popup and
> Databinding)
>
>
>
> Cool, thanks Brian :)
>
>
>
> Maybe we could create a bead for PopUp to make if you use Crux to
&g
Yes, it seemed to me too 😝. I will clean the code and share it (maybe tomorrow).
Hiedra.
De: Carlos Rovira
Enviado el: viernes, 22 de enero de 2021 20:09
Para: users@royale.apache.org
Asunto: Re: [EXTERNAL] Popup and Databinding with Crux (RE: Popup and
Databinding)
Cool, thanks Brian
ml that I dynamically load in with the same problem, I'm
> going to try it there too but it sure works.
>
>
>
> Thanks for the help Brian.
>
> Hiedra
>
>
>
> *De:* Brian Raymes
> *Enviado el:* viernes, 22 de enero de 2021 18:02
> *Para:* users@royale.apache.org
ERNAL] Popup and Databinding with Crux (RE: Popup and
Databinding)
Here is how I’m making that work. Dispatch an ADD_BEAN before adding the
content to the PopUp. This wires it up for crux.
I’m also dispatching REMOVE_BEAN when the popup is closed to ensure it is
removed when not needed.
BeanEvent(BeanEvent.ADD_BEAN, searchPopup));
. . .
popup = new PopUp();
popup.content = searchPopup;
addElement(popup);
popup.open = true;
Hope this helps.
Brian
From: Maria Jose Esteve
Sent: Friday, January 22, 2021 2:40 AM
To: users@royale.apache.org
Subject: [EXTERNAL] Popup and Databinding
Enviado el: lunes, 18 de enero de 2021 18:21
Para: users@royale.apache.org
Asunto: Re: Popup and Databinding
Sorry -- I wasn't clear -- both the ItemRendererDataBinding and
ContainerDataBinding beads worked. I went with ContainerDataBinding as Harbs
is right. It's a better fit.
Ok! great you got it working :)
El lun, 18 ene 2021 a las 18:21, wkoch ()
escribió:
> Sorry -- I wasn't clear -- both the ItemRendererDataBinding and
> ContainerDataBinding beads worked. I went with ContainerDataBinding as
> Harbs is right. It's a better fit.
>
>
>
> --
> Sent from: http://apac
Sorry -- I wasn't clear -- both the ItemRendererDataBinding and
ContainerDataBinding beads worked. I went with ContainerDataBinding as
Harbs is right. It's a better fit.
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
Hi Warren,
Can you share a minimum code for the Popup with some binding that is not
working. The code you shared doesn't show that part.
And as well the part of the code in your app where you declare and use that
popup. I'll try both pieces of code in a local project.
thanks
El lun, 18 ene 2021 a
Correction. Now either of them work.
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
Tried that. Didn't work.
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
ContainerDataBinding might be more appropriate.
> On Jan 18, 2021, at 4:14 PM, wkoch wrote:
>
> I found the issue. Was missing the ItemRendererDataBinding bead in the popup
> code.
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
I found the issue. Was missing the ItemRendererDataBinding bead in the popup
code.
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
when you move through the grid the Popup label is updated?
Hiedra
-Mensaje original-
De: wkoch
Enviado el: lunes, 18 de enero de 2021 1:07
Para: users@royale.apache.org
Asunto: Re: Popup and Databinding
*Main Page:*
http://ns.adobe.com/mxml/2009";
*Main Page:*
http://ns.adobe.com/mxml/2009";
xmlns:b="library://ns.apache.org/royale/basic"
xmlns:j="library://ns.apache.org/royale/jewel"
xmlns:h="library://ns.apache.org/royale/html"
What’s the base for your MXML file?
> On Jan 17, 2021, at 11:44 PM, wkoch wrote:
>
> I'm sure I'm missing a bead somewhere...
>
> I am making a popup programatically. In that popup I have things that are
> supposed to bind. I have a datagrid that is populated from a database call
> and a sim
I'm sure I'm missing a bead somewhere...
I am making a popup programatically. In that popup I have things that are
supposed to bind. I have a datagrid that is populated from a database call
and a simple label that's bound to a string.
Nothing is binding……
--
Sent from: http://apache-royale-
20 matches
Mail list logo