1. #11
    Sencha User
    Join Date
    Feb 2012
    Posts
    91
    Vote Rating
    2
    satishs is on a distinguished road

      0  

    Default


    @zmagyar sorry I meant autodestroy to false.

    But...I am looking at Phil's posting after mine, I am really glad some one in Sencha team looked into it and ran into same problem. I am going to try out Phil's suggestion and post back on this thread. I feel a lot comfortable now.

  2. #12
    Sencha User
    Join Date
    Feb 2012
    Posts
    91
    Vote Rating
    2
    satishs is on a distinguished road

      0  

    Default


    well...first :

    navigation.view is working fine if you create the child view every time. It was behaving the same way with autoDestroy set to false. I'll go with the best practice suggested by Phil.

    In ipad safari: (it works fine in chrome)

    Unfortunately, when you re-create a view with button component on it, for some reason, button's tap event does not work.

    Alternatively, if I try using autoDestory set to false, button component works fine, but its associated audio component does not.

    I feel like I am struck after having spent more than 15 hours.

    I'd appreciate if you could take a look and let me know how I can fix this problem. You can access the page at www.focusindia.org/sb5/slokas.html and click the top right image.

    From list view click couple of items and try and play the music.

    Thanks,
    ST

  3. #13
    Sencha User
    Join Date
    Feb 2012
    Posts
    91
    Vote Rating
    2
    satishs is on a distinguished road

      0  

    Default


    hoo..it worked thank fully.

    Phil, Thank you for the pointer that setting autoDestroy to false produces erroneous results in child views.

    I went with your suggestions and stuck with it. The reason the button in child view does not respond to tap is that - when you press 'back' button in navigation view - not only does it pop the view , when you recreate it, Listeners need to be explicitly added as well.

    Once I added the Listeners, it started to work again.

    I wish this was communicated in detail when ST2.0 GA was rolled out last week. This has pretty much cost me the last several days and not to talk about the frustration.

    But, Phil I Thank you for taking time to respond and
    @
    zmagyar for restarting this thread.
    I am ready to move on now.

    ST

  4. #14
    Sencha Premium Member
    Join Date
    Mar 2012
    Location
    Budapest
    Posts
    89
    Vote Rating
    2
    zmagyar is on a distinguished road

      0  

    Default


    Thanks for the update. Yep, it makes perfect sense to not keep the instance there as in your fix. However the auto destruction seems to be a weird "feature" here. :-)

  5. #15
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,732
    Vote Rating
    51
    Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough

      0  

    Default


    Awesome! I'm glad you worked it out. I suspect autoDestroy: false isn't working as designed.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  6. #16
    Sencha User
    Join Date
    May 2010
    Posts
    111
    Vote Rating
    1
    sajan is on a distinguished road

      0  

    Default


    Thanks,
    It helped me too.
    But I cannot understand one thing. Once I changed to new code from
    https://github.com/philstrong/cityba...usiness.js#L53

    it slowed down the entire process (on chrome and safari both) . It took a long time to open the panel.
    Any idea why?

    thanks

  7. #17
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,732
    Vote Rating
    51
    Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough

      0  

    Default


    I recently updated the citybars app

    it now has
    map.setMapOptions({
    zoom: 18

    });
    map.setMapCenter({
    latitude: lat,
    longitude: long
    });

    at that line number ... is this what you mean?
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

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