[JS CS3] Can a dropdown list be made editable?

Hello,
I would like to have a dropdown list that is editable. The list I have is a list of existing xml tags. I have a script that creates new xml tags and I would like to include the now existing tag names and the ability to create new names.
If a dropdown list cannot be made editable I can always create two fields, one a dropdown list, the other a textEditbox. But I'd like to just have one.
Thanks,
Tom

Hmmmm...I thought I was using ScriptUI, but I now see in the ScriptUI Classes that there is an element called "ListItem" that appears to foot the bill. It appears that one can add to its drop down list.
I'm not sure I want to rewrite what I have in "classical" just to eliminate an extra field. It is working fine now. Maybe next time I'll experiment with this.
Thanks.

Similar Messages

  • How to trigger dropdown list click in editable alv?

    I have an editable alv - and wehn a certain field is changed - I want to force the user to update a 2nd field, which is filled via a dropdown list.
    Ive trapped the change of the first field, in the handle_data_changed method, but need to from there - call an event to simulate a click onthe 2nd dropdown field, and can not figure out how to do that. the method modify_cell wont work as it expects a value to be passed in and I need to use my dropwdown.
    How is this done?
    Do I have to change it from a dropdown to an f4 event? I woudl really rather not.

    Dear srivallika,
    first you have do build up an steploop on your dynpro for the it_ccode-bukrs
    AT PBO
    loop at it_ccode cursor g_ccode_cur into wa_cccode.
    my set loopc
    module ccode_loopc.
    endloop.
    Include PBO
    module ccode_loopc.
      g_ccode_loopc = sy-loopc.
    endmodule.
    You only see via DIAG Dialog the displayed rows on the Dynpro.
    So if you only have a steploop of 4 rows -- you only get 4 rows to the wgate.
    Better use the field-set makro.
    AT PBO
    module rfc_fieldset_ccode.
    INCLUDE PBO
    module rfc_fieldset_ccode.
    data: ls_ccode like line of it_ccode.
    data: i type i.
    I'll use deeper structure
      perform rfc_fieldset_ccode.
    but you also can define the code here
    loop at it_ccode into ls_ccode.
         add 1 to i.
         field-set 'INDX'       i i .
         field-set 'BUKRS'   i   ls_ccode-bukrs .
    endloop.
    endmodule.
    Why to do this? The field-set makro (don't forget to include AVWRTCXM at your topinclude) will send the data from internal table via AGATE to the WGATE.
    Here now you can define the dropdown list:
    srivallika, i'll hope i could help you a little. If you have any questions, you won't bother me. ASK!
    With best regards
    Thorsten

  • Populating dropdown list from an XML file

    Hi!
    I want to prepopulate a dropdown list in a form from an XML file.
    Typically something like:
      A
      B
      C
    Is this the correct way to specify the list's values in XML?
    How do I specify the binding property of my dropdown list, to put the values A, B and C into the dropdown list?
    I am using Designer 7.0!
    Thanks!

    [email protected] wrote:
    > Hi!
    >
    > I want to prepopulate a dropdown list in a form from an XML file.
    > Typically something like:
    >
    >
    >   A
    >   B
    >   C
    >
    >
    >
    > Is this the correct way to specify the list's values in XML?
    > How do I specify the binding property of my dropdown list, to put the values A, B and C into the dropdown list?
    >
    > I am using Designer 7.0!
    >
    > Thanks!
    Liana,
       You can't do this with Designer 7.0.  If you upgrade to Designer 7.1,
    you can bind dropdown list values to your xml data using the dynamic
    property binding capabilities.
    Hope this helps!
       Justin

  • Dropdown List in table - multicolumn foreign key

    Hello,
    Steve Muench has a nice screencast how to create a dropdown list in an editable adf table.
    Is there a way how to update this example to work with multicolumn foreign key between edited table and lookup table?
    Let's say lookup table has Code, Line attributes as primary key and edited table has foreign key attributes MasterCode and MasterLine. How populate the FK attributes by dropdown list?
    For editable table it's probably not possible directly from dropdown list. I tried to find a solution but I had problem to identify which lookup row was selected.
    Rado

    ok i have checked that for the past few days but its not what i want.
    i am using wizard to do this and i need to populate the database table records (individual field names) and display in the table control dropdown list.
    what the demo shows is only how to display a dropdown list with reference to the table names.

  • How do I make a drop down list of text in numbers as it is made in the example spreadsheet for comparing cars for buying where you can choose a value from a dropdown list for each car?

    how do I make a drop down list of text in numbers as it is made in the example spreadsheet for comparing cars for buying where you can choose a value from a dropdown list for each car?

    Where is this example spreadsheet? Without seeing it I can only guess at what you are asking.
    To make a drop-down list (a pop-up menu in Numbers-speak), format the cell as a pop-up then edit and add to the list of items.
    If the example spreadsheet is pulling in a dollar value based on what car you chose in the pop-up, it is probably using LOOKUP or one of the other lookup functions, getting the information from another table (a lookup table). If, instead, these dollar values are what you are choosing in the pop-up, then you need to create a pop-up with these values in it.
    The Help menu includes a link to a page where you can download the Numbers Users Manual. It also has a link to the Formulas and Functions guide. Both are useful to new users.

  • How can I populate a dropdown list

    I am trying to build a dropdown list dependant on another dropdown list
    Once a selection is made in dropdown list 1:
    Only items associated with that selection are populated in dropdown list 2 AND
    populates text field 1 with the data selected in dropdown list 1
    Once dropdown list 2 selection is made:
    populates a text field 2 with the data selected in dropdown list 2
    Anybody know how this can be done?
    Ray

    Sorry about that. I had the link ready to paste but neglected to do so: http://acrobatusers.com/tutorials/getting-external-data-into-acrobat-x-javascript
    The idea is that you can read in data from an external or attached file, but it will need to be a different format such as XML, tab-delimited text, or CSV, which can all be exported from a spreadsheet.

  • How can I sort the Firefox Tools menu dropdown list alphabetically?

    The Tools menu has a dropdown list, but entries are not in alphabetical order. Options and some individual add-ons/extensions show up in the list, but not alphabetically. It would be helpful to have them in alphabetical order in the list, however, I can find no option to sort them. Am I missing some hidden, built-in option for sorting? Is there an add-on perhaps that will provide a sorting means? Anyone have a clue? I haven't found anything in my searches on the topic... just regarding sorting bookmarks. But it is the Tools menu dropdown list I want to be able to tweak. Anyone?

    @ Gingerbread Man....
    Took your suggestion about trying the Menu Editor add-on. So far, it seems to be working. Noted some comments at the add-on's Mozilla page that indicated possible problems with changing the Context menu, and will monitor effects on some changes I made to that menu. But I'm very happy to have been able to re-order my Tools menu drop-down list with this add-on. Thank you so much! God bless!
    PS: Love your username : )

  • I want to access the options in the context menu when clicking on a dropdown list in the bookmarks toolbar, but the context menu disappears when I try to click on one of the options. How can I keep the menu from disappearing?

    I have several dropdown lists in my bookmarks toolbar and would like to access the properties for some of the the items. This used to work fine. However, now, when I go to the list and place the cursor on a particular item, the context menu that is usually available on a right click disappears when I try to access one of the options. This is the menu that begins with Open. What can I do to regain this functionality? I really need the information in the Properties section. I'm using Firefox 3.6.8

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Also check the Mouse driver settings in the Control Panel.

  • How can I use more than 2 dependent dropdown lists

    I would like to create a form using three level of dépendent dropdown lists.
    Some examples exist with States dropdown list depending on a Country dropdown list. I would like to have a third level City depending on the choice made in the second list. Thanks for your help and sorry for my English

    Hi,
    I used the script from http://acrobatusers.com/tutorials/js_list_combo_livecycle1 to create a two dependent drop-downs and then was able to extend this to three dependent drop-down lists. I have put an example up at https://workspaces.acrobat.com/?d=Ph1ZsLxdyeZk9dq9qovNeQ
    Hope this helps,
    Greig

  • I updated to 3.6, lost bookmarks, have only a default profile so I restored. The bookmarks are now there but I can't get the dropdown list for many folders so I can't access these. Clicking on the arrow to the right of the folder name does nothing.

    When I Click on some of the bookmark folders I do get a dropdown list of sites but not always all of the sites that were bookmarked. If I copy a nonresponding folder, the new copy can be accessed but apparently does not contain all of the sites. If I rightclick on a nonresponding folder and use 'open all tabs' Firefox will tell me the number of sites in the folder and ask if I really want to open so many.

    Sounds like a corrupted places.sqlite file.
    See http://kb.mozillazine.org/Locked_or_damaged_places.sqlite

  • Can I open psd file made in photoshop cs3 with photoshop ps2?

    Can I open psd file made in photoshop cs3 with photoshop ps2? Thanks in advance!

    Actually you can open a CS3 file with smart filters in CS2
    the only problem is CS2 will not understand the Smart filter and flatten it.
    If you leave the smart filtered object alone in CS2 save the file and it should still be a smart filtered object in CS3

  • How to set a keyboard event, which can response to dropdown list?

    Hi every one
    Can you set a keyboard keydown event for select the dropdown list item?
    Thanks
    Regard
    John
    //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    var
      w = new Window('dialog {orientation: "row", alignChildren: ["", "top"]}',"Indesign Tricks Wizard_Beta_V3", undefined, {closeButton: false}),  
      stringList = ["01   Close and SAVED",                                                        //       0
            "02   Close WITHOUT save",                                                   //       1
            "03   Save all files",                                                                //       2
            "04   Reverse",                                                                        //       3
            "-",                                                                                          //       4
            "05   Remove empty pages",                                                  //       5
            "-",                                                                                          //       6
            "06   Update years on Master in all opening Doc",               //       7
            "07   Years + 1 in Specific cells",                                          //       8
            "08   Copy and paste to Next Master",                                 //       9
            "-",                                                                                         //       10
            "09   Bring Styles and Swatches to next Doc",                      //       11
            "10   DEL and Replace Color",                                               //       12
            "11   Remove unused color",                                                 //       13
            "-",                                                                                         //       14
            "12   Remove missing link in all open files",                         //       15
            "13   Remove layer and missing link ",                                  //       16
            "14   Batch import styles from source document",               //       17
            "-",                                                                                         //       18
            "15   Gen Revised PDF",                                                        //       19
            "16   Report empty return at top",                                       //       20
            "17   Find-Change Paragraph Names",                                //       21
            "-",                                                                                         //       22
            "18   Break link from story",                                                //       23
            "19   Joint link to story",                                                       //       24
            "20   Extract pages",                                                            //       25
            "21   Joint text fame together",                                           //       26
            "22   Resize selected text"],                                                //       27
      mReminderString = "\"Batch import styles from source document\" usually cause indents problem.",
      lastSelected = Number(app.extractLabel("dialogWizard") ),
      p = w.add("panel", undefined, "Choose a job to do:"),
      s = p.add("group"),
      mDD = p.add("dropdownlist", undefined, stringList),
      mRem = p.add("statictext", undefined, mReminderString, {multiline: true} ),
      b = w.add('group {orientation: "column"}');
         mDD.preferredSize = [320,20];
         mRem.preferredSize = [320,30]; // set reminder height as 20 * line count (here 2 lines)
         if ( !lastSelected ) mDD.items[0].selected = true;
         else mDD.items[lastSelected].selected = true;
    // |||||||||||||||||||||||||||||||||||||||||||||||| modify reminder font here |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
             w.graphics.backgroundColor = w.graphics.newBrush (w.graphics.BrushType.SOLID_COLOR, [1, 0.26, 0.2]);
         mRem.alignment = "left";
         mRem.graphics.font = ScriptUI.newFont ("Arial", "Bold", 11);
         mRem.graphics.foregroundColor = mRem.graphics.newPen (w.graphics.PenType.SOLID_COLOR, [1, 1, 1], 1);
         p.graphics.font = ScriptUI.newFont ("Arial", "Bold", 10);
         p.graphics.foregroundColor = mRem.graphics.newPen (w.graphics.PenType.SOLID_COLOR, [1, 1, 1], 1);
         mDD.graphics.font = ScriptUI.newFont ("Arial", "Bold", 11);
         mDD.graphics.foregroundColor = mRem.graphics.newPen (w.graphics.PenType.SOLID_COLOR, [1, 0.26, 0.2], 1);
    // ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||
            var myIcon = "";
            var ib = b.add ('iconbutton', undefined, myIcon);
                  ib.onClick = function() {
                         w.close(1);
            w.addEventListener ("keydown", function(k) {if (k.keyName == "Enter") w.close(1);})
    // ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||
            b.add ('button', undefined, "取り消す", {name: "Cancel"}); 
    // ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||
    w.show();
    //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    Hi Peter
    look into script as below:
    //======================================================================================== =======================================================
    var
      w = new Window('dialog {orientation: "row", alignChildren: ["", "top"]}',"Indesign Tricks Wizard_Beta_V3", undefined, {closeButton: false}),  
      stringList = ["01   Close and SAVED",                                                        //       0
            "02   Close WITHOUT save",                                                   //       1
            "03   Save all files",                                                                //       2
            "04   Reverse",                                                                        //       3
            "-",                                                                                          //       4
            "05   Remove empty pages",                                                  //       5
            "-",                                                                                          //       6
            "06   Update years on Master in all opening Doc",               //       7
            "07   Years + 1 in Specific cells",                                          //       8
            "08   Copy and paste to Next Master",                                 //       9
            "-",                                                                                         //       10
            "09   Bring Styles and Swatches to next Doc",                      //       11
            "10   DEL and Replace Color",                                               //       12
            "11   Remove unused color",                                                 //       13
            "-",                                                                                         //       14
            "12   Remove missing link in all open files",                         //       15
            "13   Remove layer and missing link ",                                  //       16
            "14   Batch import styles from source document",               //       17
            "-",                                                                                         //       18
            "15   Gen Revised PDF",                                                        //       19
            "16   Report empty return at top",                                       //       20
            "17   Find-Change Paragraph Names",                                //       21
            "-",                                                                                         //       22
            "18   Break link from story",                                                //       23
            "19   Joint link to story",                                                       //       24
            "20   Extract pages",                                                            //       25
            "21   Joint text fame together",                                           //       26
            "22   Resize selected text"],                                                //       27
      mReminderString = "\"Batch import styles from source document\" usually cause indents problem.",
      lastSelected = Number(app.extractLabel("dialogWizard") ),
      p = w.add("panel", undefined, "Choose a job to do:"),
      s = p.add("group"),
      mDD = p.add("dropdownlist", undefined, stringList),
      mRem = p.add("statictext", undefined, mReminderString, {multiline: true} ),
      b = w.add('group {orientation: "column"}');
         mDD.preferredSize = [320,20];
         mRem.preferredSize = [320,30]; // set reminder height as 20 * line count (here 2 lines)
         if ( !lastSelected ) mDD.items[0].selected = true;
         else mDD.items[lastSelected].selected = true;
    // ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||
                mDD.active = true;                 //this syntax work in PC, but not work in MAC
                mDD.addEventListener ("keydown", function (k)
                        k = k.keyName.toLowerCase();
                                var i = 0;
                                        while (i < numbers.length-1 && numbers[i].charAt(0).toLowerCase() != k)
                                                   {++i;}
                                                if (numbers[i].charAt(0).toLowerCase() == k)
                                                                mDD.selection = i;
    // ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||
    // |||||||||||||||||||||||||||||||||||||||||||||||| modify reminder font here |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
             w.graphics.backgroundColor = w.graphics.newBrush (w.graphics.BrushType.SOLID_COLOR, [1, 0.26, 0.2]);
         mRem.alignment = "left";
         mRem.graphics.font = ScriptUI.newFont ("Arial", "Bold", 11);
         mRem.graphics.foregroundColor = mRem.graphics.newPen (w.graphics.PenType.SOLID_COLOR, [1, 1, 1], 1);
         p.graphics.font = ScriptUI.newFont ("Arial", "Bold", 10);
         p.graphics.foregroundColor = mRem.graphics.newPen (w.graphics.PenType.SOLID_COLOR, [1, 1, 1], 1);
         mDD.graphics.font = ScriptUI.newFont ("Arial", "Bold", 11);
         mDD.graphics.foregroundColor = mRem.graphics.newPen (w.graphics.PenType.SOLID_COLOR, [1, 0.26, 0.2], 1);
    // ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||
            var myIcon = ""
            var ib = b.add ('iconbutton', undefined, myIcon);
                  ib.onClick = function() {
                         w.close(1);
            w.addEventListener ("keydown", function(k) {if (k.keyName == "Enter") w.close(1);})
    // ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||
            b.add ('button', undefined, "取り消す", {name: "Cancel"}); 
    // ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||
    w.show();
    //======================================================================================== =======================================================
    Thank you
    Regard
    John

  • DW CS3 Dropdown list multiple MySQL Set ?

    How do I update a MySQL Set field with multiple
    selections from a DW CS3 dropdown list?
    (No problem in updating a single value (either text or
    numeric.)
    Thanks.

    Vozzek wrote:
    > Could someone please take a brief look at the code below
    and tell me why
    > Dreamweaver CS3 keeps crashing every time I try to close
    the </select> tag?
    http://www.adobe.com/go/kb402776
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • I am trying to update my billing detail on my IPAD2. However it keep on saying that the country need at least 3 characters long. But the country field is a dropdown list with Malaysia's states all with 2 characters long only! I can't make any purchase now

    I am trying to update my billing detail on my IPAD2. However it keep on saying that the country need at least 3 characters long. But the country field is a dropdown list with Malaysia's states all with 2 characters long only! I can't make any purchase now because I can't verify the billing detail because it just doesn't work! Very frustrating now.

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I am being forced to create 3 security question from your dropdown list and I can choose the questions but can't enter anything in the answer field??

    I am being forced to create 3 security question from your dropdown list and I can choose the questions but can't enter anything in the answer field??

    The problem is twenty three people leaving or twenty three thousand leaving has zero impact on a carrier with over 100 million customers. And they have the lowest churn rate. So if 10,000 or 20,000 or more churn out it means little to the carrier.
    If you have a real lawyer he/she will advise you that you have no case. The device was not lost or stolen by the carrier, you were not eligible for a new device, and like any business who employs large numbers of poorly trained personnel who make low wages what was told to you is not in writing. So a verbal exchange does not hold up.
    In fact in Verizon's customer agreement it has such a disclaimer against any verbal exchanges so if you have that agreement in writing, go get them.
    The posting on public forums and places like Face Book, Linkin, Google+ or a personal web site can open you up to a lawsuit for Dilution of Trade Name, and other offences. However if you have proof then go for it.
    Unfortunately that is how big business works today. A pity

Maybe you are looking for

  • Export and Import Simultaneously

    Hi All, we daily get requests to sync a schemas. ex: copy data from user a to user b (both users are in the same database) as usual we take export of user A schema and import into user B. This process takes somewhere around 80 to 100 mins ( after tun

  • Custom alert sound does not work in Calendar ...

    Hi, I created an AIFF file of 30 seconds extracted from one of my MP3 file.  I placed that file in the «Sounds» folder in my Library.  I see and play the sound in the Sound preferences and in my Calendar sound alerts when creating a event. When this

  • ITunes in Japan - why aren't TV programs from the US available ?

    Hello, iTune in Japan doesn't really cater for the expat non-Japanese community. For example, if during signup, you state your country is Japan, the only language offered is Japanese, and only Japanese shows are offered for download. Why is it that w

  • Vendor bank data(IBAN value) populated in 2 lines version 2

    Hello guys, Pls, i need a little help. I'm trying to migrate the VENDOR MASTER DATA. I've filled the tables in LSMW (using BDC): BLFA1 BLFB1 BLFBK BLFBK_IBAN BLFM1. LSMW creates the session, but when i get to BANK Screen, it inserts 2 lines for a sin

  • Apply Custom CSS to List

    Hello all, Well, I have some custom CSS that I'd like to apply to a "DHTML Menu with Sublist". I've gotten as far as getting the top level to use the CSS, but I cannot get the sub list to work. Here's my workspace (page 1 - List) http://apex.oracle.c