RE: [EXTERNAL] Popup and Databinding with Crux (RE: Popup and Databinding)

2021-01-26 Thread Brian Raymes
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

Re: [EXTERNAL] Popup and Databinding with Crux (RE: Popup and Databinding)

2021-01-24 Thread Carlos Rovira
dispatchEvent(*new* BeanEvent(BeanEvent. > REMOVE_BEAN,viewBead.content)); > > viewBead.content.removeEventListener("closePopUp" > , closePopUpHandler); > > } > > } > > > > Thx > > Hiedra. > > > > *De:*

RE: [EXTERNAL] Popup and Databinding with Crux (RE: Popup and Databinding)

2021-01-23 Thread Maria Jose Esteve
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

Re: [EXTERNAL] Popup and Databinding with Crux (RE: Popup and Databinding)

2021-01-23 Thread Carlos Rovira
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

RE: [EXTERNAL] Popup and Databinding with Crux (RE: Popup and Databinding)

2021-01-22 Thread Maria Jose Esteve
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

Re: [EXTERNAL] Popup and Databinding with Crux (RE: Popup and Databinding)

2021-01-22 Thread Carlos Rovira
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

RE: [EXTERNAL] Popup and Databinding with Crux (RE: Popup and Databinding)

2021-01-22 Thread Maria Jose Esteve
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.

RE: [EXTERNAL] Popup and Databinding with Crux (RE: Popup and Databinding)

2021-01-22 Thread Brian Raymes
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

Popup and Databinding with Crux (RE: Popup and Databinding)

2021-01-22 Thread Maria Jose Esteve
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.

Re: Popup and Databinding

2021-01-18 Thread Carlos Rovira
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

Re: Popup and Databinding

2021-01-18 Thread wkoch
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/

Re: Popup and Databinding

2021-01-18 Thread Carlos Rovira
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

Re: Popup and Databinding

2021-01-18 Thread wkoch
Correction. Now either of them work. -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: Popup and Databinding

2021-01-18 Thread wkoch
Tried that. Didn't work. -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: Popup and Databinding

2021-01-18 Thread Harbs
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/

RE: Popup and Databinding

2021-01-18 Thread wkoch
I found the issue. Was missing the ItemRendererDataBinding bead in the popup code. -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

RE: Popup and Databinding

2021-01-18 Thread Maria Jose Esteve
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";

Re: Popup and Databinding

2021-01-17 Thread wkoch
*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"

Re: Popup and Databinding

2021-01-17 Thread Harbs
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

Popup and Databinding

2021-01-17 Thread wkoch
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-