How can I get two column selection list in my html form

I required to have two column selection list in my jsp page to show name and description of a product. How can i achieve this functionality or is there any other alternative to do so.

If i understand correctly: you can't actually create two columns in a list because it can only hold one value. The only way to achieve what you want is by concatenating the two values you want to display and put this as the value of the listbox.

Similar Messages

  • How can I get two lines mail list like Windows Live Mail and How can I get to, cc, bcc lines like Windows Live Mail?

    I wish to move Thunderbird. But i have two main problem.
    * I want two lines mail lis like Live Mail,
    * I want to, cc, bcc line like Live Mail. I mean when, I write an e-mail address I will key "," (or another character) then I will enter next email address. Auto address completion must work for each address which I enter the address line.
    Can i do those on Thunderbird?
    I searched on the internet and there are much people who want this features.
    Thanks..

    I see the dropdown menus for CC and BCC, but they don't work. I click on them and there is no response except the name I already had in the "TO" field disappears! The attached screenshots shows the name in the "to" field, then the result after choosing "add CC" - the "to" name disappears.

  • How can I get a drop-down list selection also be selected in another field with the same list but a different name?

    I have a street address and a billing address. A question is posed with a checkbox — "Is the billing address the same as the street address?" If Yes is checked, the street address automatically fills the billing fields. If No is checked, the user must fill in new information. In both the street address and billing addres, the State field is a drop-down list. How can I get the drop-down list selection in the street address State also be selected in drop-down list for the billing address State?

    Has anyone done this?

  • How can we get Dynamic columns and data with RTF Templates in BI Publisher

    How can we get Dynamic columns and data with RTf Templates.
    My requirement is :
    create table xxinv_item_pei_taginfo(item_id number,
    Organization_id number,
    item varchar2(4000),
    record_type varchar2(4000),
    record_value CLOB,
    State varchar2(4000));
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'USES','fever','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'HOW TO USE','one tablet daily','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'SIDE EFFECTS','XYZ','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'DRUG INTERACTION','ABC','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'OVERDOSE','Go and see doctor','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'NOTES','Take after meal','TX');
    select * from xxinv_item_pei_taginfo;
    Item id Org Id Item Record_type Record_value State
    493991     224     1265-D30     USES     fever     TX
    493991     224     1265-D30     HOW TO USE     one tablet daily     TX
    493991     224     1265-D30     SIDE EFFECTS     XYZ     TX
    493991     224     1265-D30     DRUG INTERACTION     ABC     TX
    493991     224     1265-D30     OVERDOSE      Go and see doctor     TX
    493991     224     1265-D30     NOTES     Take after meal     TX
    Above is my data
    I have to fetch the record_type from a lookup where I can have any of the record type, sometime USES, HOW TO USE, SIDE EFFECTS and sometimes some other set of record types
    In my report I have to get these record typpes as field name dynamically whichever is available in that lookup and record values against them.
    its a BI Publisher report.
    please suggest

    if you have data in db then you can create xml with needed structure
    and so you can create bip report
    do you have errors or .... ?

  • How Can I get multi column values from dynamic search help?

    Hi Gurus;
    I'm using dynamic search help in my program.
    I want to get multi column values from search help. But I dont know solution for this issue.
    I'm using F4IF_INT_TABLE_VALUE_REQUEST FM.
    How Can I get multi column values from dynamic search help?
    Thanks.

    Believe it or not, the same FM worked for me in a dynpro. I will try to explain here how it works in custom screen and then you can do your work for other screens or program types. I am not going to write my actual work but will explain in general.
    I have 4 fields (FLD1, FLD2, FLD3, FLD4) and i made the search based on FLD2 and when user click on a line (could be any field), then this would bring the line on to the screens.
    There are like 3 steps.
    You have your value_tab for my fields FLD1, FLD2, FLD3 and FLD4. This is just the data that we pass into the FM. (data: IT_VALTAB type table of ZVAL_TABLE)
    Next map the screen fields into an internal table (data: It_dynpfld type table of dselc ). I also have other internal tables defined  (just to keep it straight, i will be putting here) data:  It_return type standard table of ddshretval.
    Next step is to call the function module. Make sure you have values in IT_VALTAB.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
            retfield        = 'FLD2'
            value_org       = 'S'
          tables
            value_tab       = It_VALTAB
            return_tab      = It_return
            dynpfld_mapping = It_dynpfld
          exceptions
            parameter_error = 1
            no_values_found = 2
            others          = 3.
        if sy-subrc <> 0.
          message id sy-msgid type sy-msgty number sy-msgno
          with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        else.
          perform get_selected_fields tables It_return.
        endif.
    The code within the perform GET_SELECTED_FIELDS  - We need to map the result fields after user selects it. The code goes like this. This is step is to update the dynpro fields.
    I need a internal table as well as a work area here. like,
    data: lt_fields type table of dynpread,
            la_fields type dynpread.
      field-symbols: <fs_return> type ddshretval.
    so fill out LT_FIELDS from the IT_RETURN table
    loop at lt_return assigning <fs_return>.
        la_fields-fieldname = <fs_return>-retfield.
        la_fields-fieldvalue = <fs_return>-fieldval.
        append la_fields to lt_fields.
        clear: la_fields.
      endloop.
    Call the FM to update the dynpro
    call function 'DYNP_VALUES_UPDATE'
        exporting
          dyname               = sy-repid
          dynumb               = '1002' "This is my screen number. You could use 1000 for selection screen (hope so)
        tables
          dynpfields           = lt_fields
        exceptions
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          undefind_error       = 7
          others               = 8.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    good luck

  • One laptop died.  I have a new laptop now.  How can I get my Ipod song list on the new laptop without downloading each c.d.?

    My first laptop died.  I have a new laptop now.  How can I get my Ipod song list on the new laptop without downloading each c.d.?

    See this older post from another forum member Zevoneer covering the different ways to copy content from your iPod to your PC.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • How can i get out the reading list???

    how can i get out the reading list?

    This really needs to be posted in the Safari forum but I will answer it here.
    What do you mean by get out? You want to see the list? Clicking on the pair of glasses controls the display of the list. The glasses are in the gray bookmark bar. Click once to open and click again to close the reading list.

  • How can i get the "Do recursive listing.vi" with teh sub-vi, because my is lost???

    How can i get the "Do recursive listing.vi" with the sub-vi, because my is lost???
    THX

    I think you must be using LV 8.x...
    Do a LabVIEW repair to get it back or else, use the attached one.
    - Partha
    LabVIEW - Wires that catch bugs!
    Attachments:
    Recursive File List.vi ‏33 KB

  • How can I get two missing numbers on a iTunes card

    How can I get two missing numbers on a iTunes card

    "Get help",just below the form space where I entered the code. Once I clicked "Get Help", it added another line to the form where I could enter  THE NUMBER ON THE BOTTOM LEFT CORNER on the back of the card. I entered as much of the I scratch-off code I could read, along with the serial number.

  • I set up iCloud on my iPhone, after that my contact list was disapeared, and I couldn't find out it in my iCloud account. so How can I get back my contact list?

    I set up iCloud on my iPhone, after that my contact list was disapeared, and I coudn't find out in my iCloud account. so How can I get back my contact list?

    If your contacts aren't on icloud.com when you check from your computer, and they aren't on your phone, you'll have to try restoring your last backup (or recover them from another backup source).

  • I lost my iphone and dont have icloud downloaded in it...how can i get back my contact list?

    i lost my iphone and dont have icloud downloaded in it...how can i get back my contact list?

    Phone to Mac will be able to pull up your previous backup info from your computer so you can have a copy of Contacts, SMS, etc.
    http://www.macroplant.com/phonetomac/

  • I have my ipod backed up on multiple computers but only one recognizes all my playlists.  How can I get all my play lists to show up on multiple computers?

    I have my ipod backed up on multiple computers but only one computershows all my playlists.  How can I get all my play lists to show up on multiple computers?

    If you want to connect and use an iPod on more than one computer you need to change the update preference in the iPod Summary tab to "Manually manage music and videos" and click Apply.
    Using iPod with Multiple computers
    Managing content manually on iPod
    If your iPod is set to update automatically take care when connecting to a different computer if your current one is out of commission. You will get a message that your iPod is linked to a different library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all songs from your iPod. Your iPod should appear in the iTunes source list from where you can change the update setting to manual and use your iPod without the risk of accidentally erasing it.

  • How can I set two different emails in only one contact form?

    How can I set two different emails in only one contact form?

    To enter multiple email address with the Contact Form Widgets:
    Click the Options icon for the selected widget, then
    In the Email to box, enter multiple emails by delimiting them with a semi-colon. For example: [email protected];[email protected]
    Cari

  • How can i get  the column name   for assigned constraint name  from  the  user_constraints   table?????

    Hi  ,
    I  have a table  so  many constraints   on so  many  columns. I  need to  know  which column has which  constraint plsql dev?? like below...
    table_name -------- col_name ------ constraint_name_of_that_col
        xxxxxx              xxxxxxx              xxxxxxxxxxxxxxxx
    or else please let me know  how can i  get the  corresponding col_name for a particular  constraint name???

    My be this can give you a help:
    [code]
    SELECT *
    FROM   ALL_CONSTRAINTS
    WHERE  R_CONSTRAINT_NAME IN (SELECT CONSTRAINT_NAME
                                                               FROM   ALL_CONSTRAINTS
                                                               WHERE  TABLE_NAME = 'TABLE_NAME'
    [/code]

  • How Can I Get Group By Select Statement To WorK?

    How can I get Code2 to work correctly? Code1 works fine. A user enters the customer and a date range on a form and submits request. I get error message in Dreamweaver. You tried to execute a query where the specified expression field3 is not part of an aggragate function I set the Form variables to: Name                            Default Value        RunTime Value Search_Criteria                    1                    Request.Form("Search") Date1                                  1                    Request.Form("Date1") Date2                                  1                    Request.Form("Date2") Code1. This works fine SELECT Field3, Field10, SUM(Field16) as SumofField16 FROM CustomerHistory_CP WHERE Field3 LIKE '%Search_Criteria%' AND Field6 >= #1/2/09# AND Field6 <= #1/30/09#  GROUP BY Field3, Field10 Code2. I get error message SELECT Field3, Field10, SUM(Field16) as SumofField16 FROM CustomerHistory_CP WHERE Field3 LIKE '%Search_Criteria%' AND Field6 >= #Date1# AND Field6 <= #Date2#  GROUP BY Field3, Field10

    That requires you to enter the configuration correctly.  You can find out the configuration for your email from your ISPs website in most cases. Or if you're using Gmail, Yahoo, or Hotmail you need only Google something like:
    "Gmail configuration for Apple Mail"  or  "Hotmail configuration for Apple Mail" (without the quotes). 
    That should get you started..
    Jeff

Maybe you are looking for

  • Arch Linux

    I've been a linux user for about 7 years and I must say this is the best distro i've used thus far. I decided to switch from gentoo after getting tired of compiling everything and their nasty layout of /etc. I had arch up and running in about 10 minu

  • I Cant play burn DVD due to no support of superdrive??

    I tried to turn on the iDVD application and had the following comment pop-up "Your Macintosh doe snot have a supported Superdrive. Please note that while you will be able to work with iDVD projects, you will not be able to burn a DVD disc" This is cr

  • PAI logic

    Hi experts, I have a problem with the PAI. I debugged the program. It goes into modul m_modify. The value of the field1 is 2. I clear it and give the value 1. It is working fine, that's what I want. But after the program finishes the modul the value

  • Spa9000 no sound

    hi,all I really need help plz All work like a charm,but i havn't any sound,i can't heard calle or caller I have another spa9000 and it work ,with the same parameters any idea? i have the last firmware on (5.1.9) Thanks

  • Software Update completely wiped out computer

    I clicked on automatic software updates before I went to bed the other night, and now my screen only display the set-up assistant, much like I had just installed Leopard. But, even following the prompts, I am stuck in a loop in set-up assistant. I am