1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    171
    Vote Rating
    1
    Dmoney is on a distinguished road

      0  

    Default widget param

    widget param


    I have a modal window that pops up with a login form that I call like this when a session is timed out:

    var view = Ext.widget('login', {
    myParam: 'test'
    });

    but in my code for the window If I try using this.myParam I get myParam is not defined.

    How do I pass a param to my window?

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,585
    Vote Rating
    322
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    Your question is a little difficult to follow. You've got a property on a form and you're trying to read it back off a window? Clearly that can't work. You should just be able to grab the form (probably using component query) and read it off.

    Alternatively, perhaps that isn't what you meant. Perhaps you've just got a scoping issue? Without seeing your code it's difficult to say exactly how to fix it but you probably need to include a scope config somewhere.

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