Hi Alex, I introduced in HTML UIBase.as set id method this:
COMPILE::JS { element.id = _id; } so for HTML elements if we set the id in mxml we'll get the same in HTML. I think this works ok, unless you think is not the best way to handle it let me know, and if you 're ok, I will commit this to develop thanks 2016-11-16 7:14 GMT+01:00 Alex Harui <aha...@adobe.com>: > > > On 11/15/16, 3:27 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > <carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> > wrote: > > >Hi I check Harb's link and seems nothing was decided. I think this is > >important since all devs will need to deal with ids at some time. > > > >I was trying some hacking like to use setAttribute on element to set id > >without luck, so I suppose I would need some compiler support. > > > >Should I make a Jira ticket with this? > > Sure, make a JIRA ticket, but IMO, go ahead and change the ActionScript > code to have the id also set the element's id. I don't think the browsers > will blow up, so we can deal with multiple elements with the same id later. > > -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.