1. #1
    Sencha User
    Join Date
    Sep 2010
    Vote Rating
    mboreback is on a distinguished road


    Default Prevent controler from catching events when wiew is not instantiated

    I have a question regarding controllers.
    A demo app is included to show my issue.

    My app is a navmanel including a menu, each menu button push a new xtype on the navpanel.
    All of the applications have a shared class linked to them, this shared class have a button that fires an application event to be catch by the active view controller, but in my small implementation the views controllers catch the event even if the view is not instantiated,

    Any one ha a solution for how to make the controller only listen to events when the view is instantiated.
    Attached Files