1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    1
    Vote Rating
    0
    Crod is on a distinguished road

      0  

    Default Pass JavaScript object to Ext.window?

    Pass JavaScript object to Ext.window?


    Hello,

    is there a possibility to pass a JavaScript object to an Ext.window?

    I've created a new window:
    Code:
    var myValue = 'Hello world!';
    var dialog = new Ext.Window({
    autoLoad: {
    showMask: true, mode: 'iframe', url: 'myForm.html'
    }
    }).show();
    How can I pass "myValue" to the Ext.window, so that I can access it in the myForm.html?

    Thanks
    Torben

  2. #2
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,664
    Vote Rating
    7
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    just set the property in window creation
    Code:
    myValue: 'myValue'
    and you can access it inside with this.myValue
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

Similar Threads

  1. need to pass a String object inside PageConfig object
    By avilanchee in forum Ext GWT: Help & Discussion (1.x)
    Replies: 5
    Last Post: 30 Dec 2009, 4:21 AM
  2. Discussion: Pass Required Fields as Object to pass ExtND form builder
    By daddyschmack in forum Ext.nd for Notes/Domino
    Replies: 1
    Last Post: 19 Mar 2009, 7:29 AM
  3. I want to pass String from javascript to jsp
    By kook_k in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 19 Jan 2009, 11:09 AM
  4. How to pass value from html to javascript ?
    By blackrosezy in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 19 Jan 2008, 8:03 AM
  5. How can I pass an object name as argument?
    By cadudecastroalves in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 11 Jan 2008, 6:09 AM

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