Hi Alex,

The MDL Dialog is a <dialog> html tag that is added to document.body
So what's the way to get the Application instance in FlexJS? or is what you
said UIUtils.findPopUpHost? (I mean if UIUtils.findPopUpHost gives the
Application)

I don't know how popups works on FlexJS but as in Flex SDK I suppose I
should declare the dialog in external file or in <fx:Component> (don't now
if this exist here) and not MXML to avoid insertion in the normal DOM tree,
and operate like Alert.show() right?




2017-01-16 7:47 GMT+01:00 Alex Harui <aha...@adobe.com>:

>
>
> On 1/15/17, 12:39 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
> <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> wrote:
>
> >Hi,
> >
> >how can I add the "positioner" or "element" created in "createElement"
> >method  to document.body instead to the parent component?
>
> Not quite sure what you are looking for, but Application wraps the Body so
> accessing the Application might be helpful.  Also, there is a
> UIUtils.findPopUpHost that popups use to find a good parent.
>
> HTH,
> -Alex
>
>


-- 

Carlos Rovira
Director General
M: +34 607 22 60 05
http://www.codeoscopic.com
http://www.avant2.es

Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.

Reply via email to