Hi Piotr, sorry, just see this, but as you said I'm very busy this days and even can't take the time to look to all the threads going on. I can't analyze right now the changes you want to do, but I trust you and I'm sure what you plan will be the right way to go. Hope I can return in some days as I get all the overload controlled.
Thanks and sorry to get late! Carlos 2017-03-16 12:24 GMT+01:00 sankar <santanu4...@gmail.com>: > piotrz wrote > > I'm thinking on adding as "default" to components ability for dynamic > > creation without any "isDynamic" property etc. I wanted to discuss it > with > > Carlos in the other thread, but he is busy currently, so I'm still > waiting > > for his input. > > Hi Piotr, > > That sounds nice. Although I don't know if there'll be any stress to > processing, which Carlos and others can suggest. But I'm fine with this > solution and I haven't seen any noticeable delay/stress to my browser even > when I give quite heavy application codes. > > I'm using following codes in my modified UIBase class at this moment, and > this working expecedly. > > > > public function addElement(c:IChild, dispatchEvent:Boolean = true):void > > { > > ... > > COMPILE::JS > > { > > if ("componentHandler" in document.defaultView) > > { > > var componentHandler:Object = window["componentHandler"]; > > componentHandler["upgradeElement"](c.positioner); > > } > > element.appendChild(c.positioner); > > (c as IUIBase).addedToParent(); > > } > > } > > Thanks! > > > > > -- > View this message in context: http://apache-flex- > development.2333347.n4.nabble.com/FlexJS-MDL-Dynamic-Child- > Problem-tp59595p60506.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. > -- 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.