1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    2
    Vote Rating
    0
    kevinknight is on a distinguished road

      0  

    Default basic dialog basic question

    basic dialog basic question


    Hi
    I am starting to use ext 1 alpha. I have multiple buttons which will be calling one basic dialog with parameters.
    <input type=button id="ss_1" onclick="showDialog(1,2)" value=Play>
    <input type=button id="ss_2" onclick="showDialog(2,2)" value=Play>
    <input type=button id="ss_3" onclick="showDialog(3,2)" value=Play>
    <input type=button id="ss_4" onclick="showDialog(4,2)" value=Play> and so on...
    I have no idea how to do that. I couldn't figure out how to pass those parameters to showdialog function in samples. All samples are demonstrated without passing params, I think.
    Also, dialog's contents will be changing depends on parameters, so I think I need to use updatemanager object inside dialog.

    Please adivse

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    125
    Vote Rating
    0
    kjordan is on a distinguished road

      0  

    Default


    Create a function that takes in those parameters and then creates/shows the dialog with the appropriate content.

Similar Threads

  1. a basic question about oo javascript
    By humpdi in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 30 Mar 2007, 6:38 AM
  2. Basic newbie question
    By AllexS in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 22 Mar 2007, 11:18 AM
  3. basic js question
    By seldon in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 10 Feb 2007, 7:42 AM
  4. Question about basic dialog.
    By Markr in forum Ext 1.x: Help & Discussion
    Replies: 6
    Last Post: 2 Jan 2007, 1:25 AM
  5. basic question...
    By genius551v in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 20 Nov 2006, 11:54 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..."