Hi Om,

in Flex SDK the mx:Button or s:Button did not have href, it was done vía
click handler right? so I think include href is not right solution.

IMHO, the proposed "navigateToUrl" will be the most near solution for us.
And for people migrating from Flex to FlexJS seems something very close to
what they used to use in the pass, right?

let's see what think others

Carlos



2017-01-16 10:11 GMT+01:00 OmPrakash Muppirala <bigosma...@gmail.com>:

> (I'm back go working on the Flex Team page using MDL.  )
>
> I'm hunting through the examples, but I dont see a way to programatically
> navigate to a URL in FlexJS.  Am I missing something obivious?
>
> I see an <a> tag with a href, and another approach that adds an <a> element
> in code, but that seems so cumbersome.  And it does not feel MXML-ish.
>
> I see a few options:
>
> 1.  Implement an href attribute in the MDL Button.  Although it will be
> confusing to the user if there is a href and a click handler.  Do both get
> executed?  Can we throw a warning in MXML about this?
> 2.  Implement a org.apache.flex.net.navigateToURL function which simply
> takes an urlRequest and navigates to the specified url (by internally
> calling window.open() )
>
> Any other options?
>
> Thanks,
> Om
>



-- 

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