PDA

View Full Version : ViewController



fabioebner
7 May 2014, 11:51 AM
Can i ref my ViewController in Application.js?

something like this:


controllers: [
'Root',
'view.main.MainController'
]
??

bone
8 May 2014, 12:12 AM
No.

Why would you want to ?

fabioebner
8 May 2014, 3:32 AM
Because i need to call one function in that viewController. and look for some event trigger i only found how trigger one function in same controller. but i need to from one Viewcontroller call a function in another Viewcontrollercan u help me with this?tks