Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-20 Thread piotrz
dynamic. Just let me know and I will start to work when I found the time. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p60611.html Sent from the Apache Flex

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-19 Thread sankar
his going to get updated across other available components to MDL, i.e. Table item renderer, toast etc. (?) Thanks! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p60606.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-18 Thread piotrz
ge in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p60564.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-16 Thread Carlos Rovira
var componentHandler:Object = window["componentHandler"]; > > componentHandler["upgradeElement"](c.positioner); > > } > > element.appendChild(c.positioner); > > (c as IUIBase).addedToParent(); > >

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-16 Thread sankar
faultView) > { > var componentHandler:Object = window["componentHandler"]; > componentHandler["upgradeElement"](c.positioner); > } > element.appendChild(c.positioner); > (c as IUIBase).addedToParent()

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-15 Thread piotrz
itiv I will start work and you shouldn't have problem for dynamic creation of component even in mxml. - I hope ;) Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Probl

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-15 Thread sankar
ynamically adding component in "bin-release" version! I didn't able to test your latest updates yet, I shall do that hopefully soon. Thanks! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p60493.html Sent

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-06 Thread piotrz
Carlos, I'm bringing back to live this thread with question about default upgrade. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p60154.html Sent fro

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-04 Thread Alex Harui
Hi Piotr, Congratulations on finding the problem. You might want to make a set of externs or typedefs for MDL. That would prevent renaming of these functions and type check those functions as well. See the way I put together the BarcodeScanner.swc in the flex-tourjs repo. -Alex On 3/4/17, 4:

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-04 Thread piotrz
ntext: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p60068.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-03 Thread piotrz
this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p60046.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-03 Thread piotrz
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p60045.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-03 Thread Alex Harui
On 3/3/17, 8:00 AM, "piotrz" wrote: >I didn't think about such scenario, so it look like we should expose >isDynamic also to MXML. That might work, although it can't be a constructor parameter. MXML doesn't allow constructor parameters. I would rather explore why whatever isDynamic does can'

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-03 Thread piotrz
I didn't think about such scenario, so it look like we should expose isDynamic also to MXML. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p60043.html

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-03 Thread Harbs
Yeah. Debugging these things are not fun. Chrome also allows you to set breakpoints on DOM elements. I’ve found this useful in breaking at a specific place in the lifecycle to see what’s going on. > On Mar 3, 2017, at 7:24 AM, Alex Harui wrote: > > > > On 3/2/17, 8:51 PM, "piotrz" wrote: >

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-02 Thread Alex Harui
On 3/2/17, 8:51 PM, "piotrz" wrote: >I will try to fight with this. The problem is that in this case I don't >have >any exception in the console. :) Yuk. I think I would next examine the DOM. Compare it against the js-debug version. If DOM objects are missing in js-release, then I would set

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-02 Thread piotrz
I will try to fight with this. The problem is that in this case I don't have any exception in the console. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Pr

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-02 Thread Alex Harui
On 3/2/17, 5:59 PM, "piotrz" wrote: >Alex, > >What could help you to fix that. Should I try to find in minified JS my >potential class and show it here? I don't know how much time you have, but it would be great if you simply tried to debug into it on your own. Maybe you will find a set of to

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-02 Thread piotrz
Alex, What could help you to fix that. Should I try to find in minified JS my potential class and show it here? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-02 Thread Alex Harui
On 3/2/17, 9:19 AM, "piotrz" wrote: >Alex, > >Do you think because it is something with variable renaming in release >version? >I remember that this problem come back to us. Almost every time js-debug works and js-release doesn't, it has to do with renaming. It is a pain to figure out (at le

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-02 Thread piotrz
Alex, Do you think because it is something with variable renaming in release version? I remember that this problem come back to us. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-02 Thread sankar
essage in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59989.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-02 Thread Alex Harui
Piotr, Santanu may be right that there are dynamic MXML scenarios involving states and includeIn/excludeFrom. In those cases, the instances are created by MXMLDataInterpreter just like other MXML tags, but may not be added to the DOM until much later, or removed and re-added as states change. I

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-02 Thread piotrz
this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59983.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-02 Thread sankar
x27;s the basic test case where I added a MDL button to one GridCell after a button click: https://kobra.io/#/e/-KeE-9-OM5UGpVORDPwt Thanks! -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59982.html Sent from th

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-02 Thread piotrz
e.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59981.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-02 Thread sankar
quot;bin-release" version? I did a small test by adding a button the way constructor demands it; it does well in "bin-debug" version though but "bin-release". Thanks! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-02 Thread piotrz
sage in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59979.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-02 Thread sankar
. buttons, textfields etc. and want to add that component at runtime, I shall basically needs to set "isDynamic=true" to every components in it, is that right? Thanks! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Probl

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-26 Thread Harbs
> and in some > situations, it might need to be the parent document's body if you are in > an IFrame. That’s not going to work unless there’s some way to create elements in the outer document which we currently don’t have. I think the simplest way to go about it, is to leave it as-is for now. It

Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-24 Thread Alex Harui
On 2/24/17, 3:00 AM, "Harbs" wrote: >Having two discussions in one thread is confusing… ;-) > >I guess we could make a custom object, but I’m not sure what the point >is. AIUI, the purpose of IPopUpHost is to support many levels of popups. >Assuming we are right that dialog must be attached to

[MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-24 Thread Harbs
Having two discussions in one thread is confusing… ;-) I guess we could make a custom object, but I’m not sure what the point is. AIUI, the purpose of IPopUpHost is to support many levels of popups. Assuming we are right that dialog must be attached to , the simplest way to handle that is to at

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-23 Thread piotrz
this Bead UpgradeElement. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59848.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-23 Thread Alex Harui
Do you want to know when a component has been added to the DOM or when the page is considered loaded? -Alex On 2/23/17, 10:47 PM, "piotrz" wrote: >Alex, > >Do you know about the event which can tell me when component has been >loaded >in DOM? > >I may try to use that. > >Piotr > > > >- >Ap

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-23 Thread piotrz
Alex, Do you know about the event which can tell me when component has been loaded in DOM? I may try to use that. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-23 Thread Alex Harui
On 2/23/17, 12:12 AM, "Harbs" wrote: >It could return the body, but the body is not an IPopUpHost and it does >not have addElement(). > >The element of an embedded app will not be the body, so addElement() to >that will blow up if it needs to be added to the body. This is JavaScript right? We

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-23 Thread Alex Harui
FWIW, MXML cannot set constructor arguments. All components instantiated via MXML must have no constructor arguments or optional constructor arguments. I still think the lifecycle should be able to tell you whether an addChild is happening "dynamically" or not. Has that been explored and abandon

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-23 Thread piotrz
constructor to each component which will be dynamic. var textField:TextField = new TextField(true); Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59836.html

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-23 Thread Harbs
It could return the body, but the body is not an IPopUpHost and it does not have addElement(). The element of an embedded app will not be the body, so addElement() to that will blow up if it needs to be added to the body. > On Feb 23, 2017, at 9:57 AM, Alex Harui wrote: > > > > On 2/22/17,

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Alex Harui
On 2/22/17, 11:18 PM, "Harbs" wrote: >That’s not going to work for an embedded app because the body element can >be outside the app completely. What would it take to make it work? If we ask each parent if it is an IPopUpHost and if it answers yes and it gives us an Iparent to call addElement

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Harbs
That’s not going to work for an embedded app because the body element can be outside the app completely. > On Feb 23, 2017, at 9:01 AM, Alex Harui wrote: > > > > On 2/22/17, 9:49 AM, "Harbs" wrote: > >> It looks like my change works. >> >> I just committed a change where instead of Dialog

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Alex Harui
On 2/22/17, 9:49 AM, "Harbs" wrote: >It looks like my change works. > >I just committed a change where instead of Dialog being added to >Application, the Dialog HTML element is added to . I needed to >manually call addedToParent() to make sure the children render, and it >all seems to work. :-)

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Guild, Jason A (DFG)
Alex: Replies below... On 2/21/2017 22:20, Alex Harui wrote: That said, we don't want the compiler generating code. Everything else is converted to data structures so the framework can interpret the data structures. The reason is mostly practical. It is scary for most folks to change the comp

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread piotrz
l start to work - let me know about concerns. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59795.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Harbs
It looks like my change works. I just committed a change where instead of Dialog being added to Application, the Dialog HTML element is added to . I needed to manually call addedToParent() to make sure the children render, and it all seems to work. :-) Harbs > On Feb 22, 2017, at 5:24 PM, Harb

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Harbs
> On Feb 22, 2017, at 6:08 PM, Alex Harui wrote: > > > > On 2/22/17, 7:24 AM, "Harbs" wrote: > >> So, this is going to be a problem. >> >> Right now Application is always attached to , but that is probably >> going to change. A very common use case of RIAs is embedded in web pages. >> In th

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Alex Harui
On 2/22/17, 7:24 AM, "Harbs" wrote: >So, this is going to be a problem. > >Right now Application is always attached to , but that is probably >going to change. A very common use case of RIAs is embedded in web pages. >In that case, the base element will not be unless it’s in an >iframe. iframe

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Harbs
So, this is going to be a problem. Right now Application is always attached to , but that is probably going to change. A very common use case of RIAs is embedded in web pages. In that case, the base element will not be unless it’s in an iframe. iframes are not always a good solution. For examp

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Carlos Rovira
Hi Harbs I asked here for the best way to reference tag from Dialog. I did the actual implementation as a workaround since at that moment you discussed it but no definite solution was opted. So considere it as a temporal code. If you see Dialog: https://getmdl.io/components/index.html#dialog-sec

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Harbs
I just looked at that code for the first time. I’m confused. Why are you attaching it to Application? Why not just add dialog to ? I don’t see why you need a reference to Application at all. Unless, of course the dialog should be centered in the application (which might not be ). Additionally,

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Carlos Rovira
Regarding mdl:Application in concrete, is just a js:Application with a static var to handle body since is needed for Dialog, and that's what MDL Dialog impose. so just a static var is the difference... 2017-02-22 9:53 GMT+01:00 Harbs : > “Must” is too strong. > > Our app needs MDL for controls, b

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Harbs
“Must” is too strong. Our app needs MDL for controls, but the main functionality doesn’t and CAN’T rely on MDL. If mdl:Application can do everything a basic:Application can do, then that’s fine (as long as it can be sub-classed, because our app cannot be based off ), but if mdl:Application cann

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread Alex Harui
hod that set those beads. >> >> Maybe I'm missing some point.. >> >> 2017-02-21 14:59 GMT+00:00 yishayw : >> >>> I agree. If you think this bead will be used very often you can create >>>a >>> subclass that bakes it in. ImageButton in Expres

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread Alex Harui
On 2/21/17, 11:51 AM, "piotrz" wrote: >One thing which I wanted to add to make you more understand. > >1) If component is instantiated in mxml and this component has added >UpgradeElement as default - upgradeElement method from MDL will not be >fired >- Cause "componentHandler" do not exists ye

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread Guild, Jason A (DFG)
a subclass that bakes it in. ImageButton in Express is probably a good example, though I would use StrandUtils to save some code lines. -- View this message in context: http://apache-flex- development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child- Problem-tp59595p59712.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread piotrz
mponent is created - logic will fire. I will wait for others voice also... Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59733.html Sent from the Apache Flex D

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread Carlos Rovira
er set it we will add Bead appropriately. > > Is it more PAYG ? > > Piotr > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-flex- > development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child- > Pro

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread piotrz
nally. (of course I'm open for naming) If user set it we will add Bead appropriately. Is it more PAYG ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59726

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread piotrz
have add anything but if not -> cbx.addBead(new UpgradeElement()); var span = new Span(); span.addBead(new UpgradeElement()); etc. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynam

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread sankar
hing inside? Thanks! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59723.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread piotrz
working. For example for RadioButton - ripple options wasn't work when I upgrade only one part of RadioButton. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp5

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread Josh Tynjala
a good > example, though I would use StrandUtils to save some code lines. > > > > -- > View this message in context: http://apache-flex-development > .247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59712.html > Sent from the Apache Flex Development mailing lis

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread Carlos Rovira
mple, though I would use StrandUtils to save some code lines. > > > > -- > View this message in context: http://apache-flex-development > .2333347.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59712.html > Sent from the Apache Flex Development mailing list archive at Nabble.co

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread Dev LFM
t; > -- > View this message in context: http://apache-flex- > development.2333347.n4.nabble.com/FlexJS-MDL-Dynamic-Child- > Problem-tp59595p59712.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. >

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread yishayw
/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59712.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread piotrz
iotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59711.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread Carlos Rovira
> to keep an eye on "bin-release" version. The above code throws me exception > as this: > > TypeError: document.defaultView.componentHandler.Cf is not a function > > > Thanks! > > > > -- > View this message in context: http://apache-flex- > development.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread sankar
tion Thanks! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59708.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-20 Thread piotrz
Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59694.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-20 Thread sankar
bs as well. Thanks! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59692.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-20 Thread piotrz
Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59688.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-20 Thread sankar
Sounds good, Piotr. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59685.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-20 Thread piotrz
x PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59683.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-20 Thread sankar
also didn't tooltip but other features seems good to my initial tests! Thanks! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59680.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-20 Thread sankar
resolve soon. Thanks! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59672.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-19 Thread piotrz
pment.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59669.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-19 Thread sankar
ome more.. So my point is, Piotr, it seems when FlexJS adds component to the HTML, they anyway get registered or maybe they don't need to be explicitly registered to get called for 'componentHandler' codes. Thanks. -- View this message in context: http://apache-flex-developmen

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-19 Thread piotrz
Hi Om, Thank you. I will give a try tomorrow and let you know! Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59662.html Sent from the Apache Flex Development

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-19 Thread OmPrakash Muppirala
> piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-flex- > development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child- > Problem-tp59595p59658.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. >

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-19 Thread piotrz
erflow. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59658.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-19 Thread Alex Harui
FWIW, one approach Peter and I often take is to start with the HTML that you want to change, then write some JS to make it work. That way, no Flex code is getting in your way. As Adobe employees we get to use Dreamweaver for free so we use that, but I'm sure any other HTML/JS editor will work, ev

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-19 Thread piotrz
piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59652.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-19 Thread piotrz
.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59651.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-19 Thread piotrz
XtmwmG [2] HTML: https://paste.apache.org/WLPu [3] Script: https://paste.apache.org/B2Qr Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59649.html Sent from

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-18 Thread piotrz
Carlos, I will try to explore it, your focus on AMF is crucial. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59636.html Sent from the Apache Flex

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-17 Thread Carlos Rovira
text: http://apache-flex- > development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child- > Problem-tp59595p59620.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 h

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-17 Thread piotrz
/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59620.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-17 Thread sankar
ounds can be called /after/ adding the component to HTML stage. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59618.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-17 Thread Alex Harui
On 2/17/17, 7:51 AM, "Josh Tynjala" wrote: >I used in MDL in a JS project recently, and I found that if I created MDL >components after the initial page load, I needed to run the following code >once they were added to the DOM: > >if("componentHandler" in window) >{ >window["componentHandle

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-17 Thread Josh Tynjala
ic child creation > in > > MDL structure. > > > > I've reported this to JIRA at: > > https://issues.apache.org/jira/browse/FLEX-35269. > > > > Request to look into this once. > > > > Thanks! > > > > > > > > -- > &

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-17 Thread sankar
-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p59611.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-17 Thread Carlos Rovira
t: > https://issues.apache.org/jira/browse/FLEX-35269. > > Request to look into this once. > > Thanks! > > > > -- > View this message in context: http://apache-flex- > development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child- > Problem-tp59595.html > Sent from the

[FlexJS] MDL - Dynamic Child Problem

2017-02-17 Thread sankar
247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595.html Sent from the Apache Flex Development mailing list archive at Nabble.com.