1. #1
    Ext User
    Join Date
    Jan 2008
    Posts
    4
    Vote Rating
    0
    thewoodsman is on a distinguished road

      0  

    Default Post processing tab content?

    Post processing tab content?


    Hi,

    I'm trying to integrate an existing site with Ext, specifically with a Tab Panel.

    When a tab panel item gets its content, I need to post process this content to alter all form submissions and links to use ajax, so they display inside the tab panel item.

    I've attempted this using jquery, but it's all a bit messy at the moment.

    Does anyone has any advice on this, especially which events I can attach to to be called every time the content of a tab changes (not the tab itself actually changing!) in Ext 1.x.

    Thanks in advance, any help would be appreciated!

  2. #2
    Sencha - Community Support Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,962
    Vote Rating
    10
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default


    Best place for that would be a customer renderer for that tab's updateManager:
    PHP Code:
    tab.getUpdateManager().setRenderer({ render: function(elresponsecallback) {

              var 
    massagedContent response.responseText.replacerule"??? ") ;
              
    el.update(massagedContent);

              if(
    callback)callback();  //important, dont forget this!
       
    }}); 
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


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