var x = new AW.UI.myControl;
My specific question is if I want to check for 'something' in the NewControl, do I have to get to it via getTemplate("NewControl") or can I also get to it via AW.object("x-NewControl")? I know this might look odd but I swear there was a reason I need to do this and I seemed to be getting mixed results. It seemed to work sometimes and not others.
Jim Hunter (www.FriendsOfAW.com)
Tuesday, February 14, 2006
No, template is not added to the global list because it is considered part of the control. However the AW.object("x-NewControl") should still work. The function will split the ID, find the control via global list and then call getTemplate() method with proper arguments, in short, it should return the template correctly.