14 Apr 2012 2:07 AM #1
About controller references
I have created a main class base on a Panel, in which I have placed a View (DataView). Then I have created an instance of the main class into a viewport and I provided an Id to the instance (lets say mainpanel).
Now I'm creating a controller, and I want to create a reference to the DataView that is within the Panel. If it was the Panel, I would have used #mainpanel, but I need to make a reference to the something within the mainpanel.
Does anyone know how to do this ?
Thanks !You have to know before dreaming !
14 Apr 2012 2:31 AM #2
I think I have found an answer. I have used
#mainpanel > dataviewYou have to know before dreaming !
14 Apr 2012 10:30 AM #3
The above component query says find the component (of any type with an id of "mainpanel"), then find any direct children of that that component that are a dataview.Aaron Conran