Get property of parent par inside child component's dialog
Hi
I have a component which i drop, creates a parsys. Inside that parsys i drop another component sat compo2. I want to achive when i load the dialog for compo2, it will fetch the value of component & on the basis of this some functionality to be perform in dialog. Below is the listener in compo2 dialog.
loadContent : function(dialog) { var path = // path of component if(path == 'landing') { console.log("Inside IF"); dialog.findByType('tabpanel')[0].hideTabStripItem(1); } }Under content hierarchy will be ....../component/par/compo2 and I want to fetch some node's property inside load content.
Thanks