I understand how you can use Alloy.createController('name') to initialize an instance of a controller, but is there a built in way to reference a controller already initialized?
Hi Geoff, there is no global access to controller windows, however you can pass the controller object (reference) around and use it to access exported functions. If this sound like what you want to do see the test/apps/basic/multiple_views for a simple sample.
you would need to save it in a variable somewhere.... or pass it into the new object.
no different than you would treat any other object
Thanks Russ and Aaron -
Think you can help? Login to answer this question!