1. #1
    Sencha User
    Join Date
    Oct 2010
    Posts
    80
    Vote Rating
    0
    linuxyf is on a distinguished road

      0  

    Default fire event from a controller to b controller

    fire event from a controller to b controller


    in sencha touch pr2, i can fire a event from one controller to another controller, it works normally. the code is as following.

    a controller:
    Code:
    this.application.fireEvent('eventname', para);
    b controller:
    init: function() {
    this.application.on({
    eventname: this.testfunction,
    scope: this
    })
    }
    but in sencha touch3, same code cause error:
    Uncaught Error: [ERROR][com.controller.bController#getObservableId] Invalid unique id of 'Kitchen.controller.bController' for this object

    why???

  2. #2
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Omaha, NE
    Posts
    529
    Vote Rating
    17
    estesbubba will become famous soon enough

      0  

    Default


    I'm doing this in PR3 with no problems. I'm guessing you have some config wrong. Did you copy and paste controller A to controller B and miss changing something? Also, debugging into the source can be helpful.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar