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
    555
    Vote Rating
    24
    estesbubba will become famous soon enough 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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi