1. #1
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    162
    Answers
    7
    Vote Rating
    2
    UbuntuPenguin is on a distinguished road

      0  

    Default Unanswered: Ext.Window and corresponding controller

    Unanswered: Ext.Window and corresponding controller


    Hello Everyone,
    I have an Ext.Window popup which is going to need a controller of some sort to set the data on the pertinent fields. Using the controller paradigm, I'm worried I will run into the issue whereby the controller tries to set the data on the view but the view is not initialized in which case we have to somehow dispatch and event from the view to let the controller know it is ready.


    TL;DR What is the best practice to get a controller to set the data on a view when the view is a popup and may not be readdy or exists.

  2. #2
    Sencha User
    Join Date
    May 2010
    Location
    Las Vegas, NV
    Posts
    134
    Answers
    7
    Vote Rating
    2
    billtricarico is on a distinguished road

      0  

    Default


    You can listen for the 'afterrender' event on the Window. Then set all the field values in that event handler.

Thread Participants: 1

Tags for this Thread

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