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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar