View Full Version : Replacement for 'ref:' in Ext JS 4?

7 Sep 2011, 1:22 PM
I'm just starting to work to convert and/or rewrite code in an existing ExtJS 3.x application to run in Ext JS 4. Some of our code uses the property 'ref', which was defined in Component and was described in the documentation as:

"A path specification, relative to the Component's ownerCt (http://dev.sencha.com/deploy/ext-3.4.0/docs/output/Ext.Component.html#Ext.Component-ownerCt) specifying into which ancestor Container to place a named reference to this Component. The ancestor axis can be traversed by using '/' characters in the path."

I've looked but there doesn't seem to be an equivalent property in Ext JS4. What is the recommended alternative to using ref: in Ext JS4?



7 Sep 2011, 1:38 PM
See this thread for some discussion: http://www.sencha.com/forum/showthread.php?124238-Ref-Property

7 Sep 2011, 2:29 PM
Thanks for the link. I had done some searching in the forums but I obviously missed this thread.