1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    44
    Vote Rating
    0
    senchauser2010 is on a distinguished road

      0  

    Default How to inject historyUrl on tab change in TabPanel

    How to inject historyUrl on tab change in TabPanel


    I am trying to use the MVC pattern. I am using Ext.dispatch to specify historyUrl on user actions and this is working fine.

    However, what's the recommended way to inject historyUrl on events like tab change which happen automatically? I would like to track tab changes using history url so that back button/deep link works as exepcted.

    Any suggestions welcome!

  2. #2
    Touch Premium Member
    Join Date
    Jun 2010
    Posts
    22
    Vote Rating
    0
    jeffremer is on a distinguished road

      0  

    Default


    You can listen to the 'change' event on the TabPanel's tabBar and then use Ext.History.add(yourtoken).

  3. #3
    Sencha User siebmanb's Avatar
    Join Date
    Aug 2011
    Location
    Geneva (CH) - Grenoble (FR)
    Posts
    253
    Vote Rating
    15
    siebmanb will become famous soon enough

      0  

    Default


    You can also listen to the 'cardswitch' event of the TabPanel.

Similar Threads

  1. how to change tab height in tabpanel?
    By mbenothmane in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 11 Jul 2011, 12:42 AM
  2. how to change tab height in tabpanel?
    By mbenothmane in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 21 Feb 2009, 10:19 AM
  3. Tab Panel - inject dynamic HTML & vertical scrollbars
    By Sheckyd in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 12 Jul 2008, 7:12 AM
  4. TabPanel: change tab object at runtime
    By blutarsky in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 15 Jan 2008, 1:29 AM
  5. Stop a tab change with TabPanel
    By jonathanv in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 30 Nov 2006, 7:16 PM

Thread Participants: 2

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