1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    2
    Vote Rating
    1
    crema1984 is on a distinguished road

      1  

    Default City Bars Example - No controller action after pop

    City Bars Example - No controller action after pop


    Dear sencha touch dev team and community,

    I am very new at sencha touch and I tried the City Bars example with the Architect 2.1.0 588.
    It works fine! But when i try to add a controller action to the call/more button on the DetailPanel like this
    Code:
    onButtonTap: function(button, e, options) {
      console.log('botton tap');
    },
    with following reference
    Code:
    control: {
       "#dataList": {                
           itemtap: 'onListItemTap' 
       },  
        "#callButton": {
           tap: 'onButtonTap'
       }      
    }
    it still works till I press the back button off the navigation bar (so MainNav.pop()). If I tap on a new listitem afterwards, the buttons on the
    new DetailPanel have no function. What is wrong with my code? The referencing?
    In my opinion the example ends, where the interesting things begins

  2. #2
    Sencha User
    Join Date
    Aug 2012
    Posts
    2
    Vote Rating
    1
    crema1984 is on a distinguished road

      0  

    Default Workaround / Solution

    Workaround / Solution


    After I created an issue report on the github repository (see https://github.com/SenchaArchitect/CityBars/issues/2), Phil Strong suggested me to use following component query
    Code:
    detailpanel button[text='Call']

    I tried also:
    Code:
    detailpanel button[id='callButton']
    which works fine, too.

    Many thanks to him!

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