Multiple Checkbox

Hello,
How to make multiple checkbox in BPS (WAS)?
A checkbox for each row?
How to read the value of the checkbox fleg?
Can anyone help me?

902535 wrote:
Hi,
i have to make a frame using swing in which frame will contain multiple checkboxes(Eg.4),now suppose some one select one or two or three etc or all check box so depending upon selected checkbox the coresponding frame should come and after the clicking the save button the next frame should open for second checkbox(eg.A,B,C are the checkboxes and add,sub,mul are the coresponding frame and now if we select B,C checkbox so th first add sub frame should come after completing first frame work mul should come automatically similarly for all combination) please give any idea which could help me.
thanksHello,
if you don't have other unstated requirements (such as, the user should be able to jump to this or that other widget in the main frame while editing info in the new frames), each of your "frames" look like a widget that the user must finish dealing with before doing the next task.
then it looks like a modal dialog (http://docs.oracle.com/javase/tutorial/uiswing/components/dialog.html).
In particular, a handy way to display modal dialogs is to use JOPtionPane;showXxxDialog(...) , also described in this page of the Swing tutorial.
That could look something like:
/** Called after user clicks "OK" */
public void actionPerformed(...) {
    if (checkboxAdd.isSelected()) {
        JOptionPane.showMessageDialog(new AdditionPanel(...),...);
    if (checkboxSub.isSelected()) {
        JOptionPane.showMessageDialog(new SubstractionPanel(...),...);
    if (checkboxMul.isSelected()) {
        JOptionPane.showMessageDialog(new MultiplicationPanel(),...);
}Best regards,
J.

Similar Messages

  • Problem with multiple checkbox

    Hello Experts,
    I have one issue related to multiple checkbox in my JSP.I have a table in JSP with 3 columns.Last column is checkbox.I want to get data for only those teams which are selected in JSP , but I am able to get value for only checkbox column (in my case 'select') .I want to get data for other column also(In my case it is 'Marks').Please tell me what should I do to get marks also for those teams which got selected.Many Thanx in advance.
    This is my JSP
            <html:form action="/AddFirstRoundWinner.do">
                    <table width="100%"
                           border="2" cellspacing="0" cellpadding="0">
                        <tr align="left">
                            <td>Team Name</td>
                            <td>Marks</td>
                            <td>select</td>
                        </tr>
                        <!-- iterate over the results of the query -->
                    <logic:iterate id="FirstroundresultForm" name="FirstRoundDetails">
                            <tr align="left">
                                <td>
                                    <bean:write name="FirstroundresultForm" property="team_name" />
                                </td>
                                <td>
                                    <input type="textbox" readonly="true" name="marks" value="<bean:write name="FirstroundresultForm"                property="first_round_total_marks" /> "/>
                               </td>
                                <td>
                                    <input type="checkbox" name="select_team" value="<bean:write name="FirstroundresultForm"
                                                                                                        property="team_id"/>"/>
                                </td>
                            </tr>
                        </logic:iterate>
                    </table><br><br>
                    <html:submit property="step"> <bean:message key="button.select"/> </html:submit>
            </html:form>  This is my code in action class
    // here I am fetching all the teams which were selected using checkbox
    String select_team[];
            select_team = request.getParameterValues("select_team");
            if (select_team != null) {
                for (int i = 0; i < select_team.length; i++) {
                    result_list.add(select_team);

    <input type = "text" ..../> <!-- and not textbox as in your code-->ram.

  • Multiple checkbox are to be checked when selecting one checkbox in formlayo

    Hi,
    I created the checkbox in apex 4.0, as LOV(list of value), I want to select multiple checkbox at a time ,when by selecting one checkbox among them.......

    Hey,
    try using APEX_ITEM.CHECKBOX.

  • Passing Multiple Checkbox Values Help

    Brand new to Coldfusion and I'm struggling to figure out how to pass values from multiple checkboxes on a form to a confirmation page and then an action page that inserts the data. The confirmation page will simply show their selections and allow them to go back and reselect, or submit to the action page.
    Form > Confirmation Page > Action
    I've found a couple of examples on the Web that mention looping, and one that said to use a WHERE IN clause but I'm lost on how to pass it through and insert at the end. Maybe the confirmation and action can be on the same page?
    Questions:
    1. Is it better to name all of the checkbox values the same or append some type of extra character and then evaluate at the end?
    2. Do I need to have hidden fields on the confirm page to transfer the data inbetween the form and action page?
    3. Can the confirmation and action be on the same page or should they be separated?
    4. What should the Query/Insert statement look like on the action page?
    I'm looking to see a basic example of code from start to finish, any help is greatly appreciated as I'm in learning mode.
    Thanks

    kittlez wrote:
    Ok so I know how to pass everything to the second page. I'm guessing I need hidden fields on that second page to go through to the last page where I insert the records...correct?
      That is one way to do it.  But one might also want to look into session variables if they have not been considered.
    When I've tried to do this I end up with something like this item1,item2,item3 all together which the database will not accept. How do I write the multiple values to the database so they are considered to be separate records.
    item1,item2,item3 is what you are supposed to get according to the HTTP protocol standard.  To insert that into a database you just need to recognize that you are getting a list and use ColdFusions list handling functions and tags to help you iterate through the list and do what you need to do with the data.
    This is a very hand code snippet for this type of work:
    <cfloop list="#listVariable#" index="aVar">
      #aVar# will equal one list item.
    </cfloop>

  • Multiple checkboxes in alv

    Hi all,
           i want to know is there any way to get multiple checkboxes when i am using FM Reuse_alv_fieldcatalog_merge.. to create ALV...
    I know that by giving the style we can get one checkbox.. but i need to display 5 checkboxes...
    Help me out frens.
    Regards,
    Syed

    You mean this... This shows a column with a check box for each row.
    REPORT ztest_alv_check MESSAGE-ID zz .
    TYPE-POOLS: slis.
    DATA: x_fieldcat TYPE slis_fieldcat_alv,
    it_fieldcat TYPE slis_t_fieldcat_alv,
    l_layout TYPE slis_layout_alv,
    x_events TYPE slis_alv_event,
    it_events TYPE slis_t_event.
    DATA: BEGIN OF itab OCCURS 0,
    vbeln LIKE vbak-vbeln,
    posnr LIKE vbap-posnr,
    chk(1),
    END OF itab.
    SELECT vbeln
    posnr
    FROM vbap
    UP TO 20 ROWS
    INTO TABLE itab.
    x_fieldcat-fieldname = 'CHK'.
    x_fieldcat-tabname = 'ITAB'.
    x_fieldcat-col_pos = 1.
    x_fieldcat-input = 'X'.
    x_fieldcat-edit = 'X'.
    x_fieldcat-checkbox = 'X'.
    APPEND x_fieldcat TO it_fieldcat.
    CLEAR x_fieldcat.
    x_fieldcat-fieldname = 'VBELN'.
    x_fieldcat-seltext_l = 'VBELN'.
    x_fieldcat-hotspot = 'X'.
    x_fieldcat-tabname = 'ITAB'.
    x_fieldcat-col_pos = 2.
    APPEND x_fieldcat TO it_fieldcat.
    CLEAR x_fieldcat.
    x_fieldcat-fieldname = 'POSNR'.
    x_fieldcat-seltext_l = 'POSNR'.
    x_fieldcat-tabname = 'ITAB'.
    x_fieldcat-col_pos = 3.
    APPEND x_fieldcat TO it_fieldcat.
    CLEAR x_fieldcat.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program      = sy-repid
        is_layout               = l_layout
        i_callback_user_command = 'USER_COMMAND'
        it_fieldcat             = it_fieldcat
      TABLES
        t_outtab                = itab
      EXCEPTIONS
        program_error           = 1
        OTHERS                  = 2.
    IF sy-subrc NE 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    *&      Form  USER_COMMAND
    *       text
    *      -->R_UCOMM      text
    *      -->RS_SELFIELD  text
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
      DATA: gd_repid LIKE sy-repid, "Exists
      ref_grid TYPE REF TO cl_gui_alv_grid.
      IF ref_grid IS INITIAL.
        CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
          IMPORTING
            e_grid = ref_grid.
      ENDIF.
      IF NOT ref_grid IS INITIAL.
        CALL METHOD ref_grid->check_changed_data .
      ENDIF.
      LOOP AT itab WHERE chk = 'X'.
        itab-chk = 'X'.
        MODIFY itab  TRANSPORTING chk WHERE vbeln = itab-vbeln .
      ENDLOOP.
      rs_selfield-refresh = 'X'.
      BREAK-POINT.
    ENDFORM. "USER_COMMAND

  • Handling Multiple checkboxes iin ALV list??

    Hi,
    I have a requirement of generating a list with multiple checkboxes corresponding to each line/row of the list..Based on the selection of some/all the rows of the list I have to invoke some functionality on the click of some button..
    I am able to get the chk-boxes on the list also i have got the button on the std PF-status of ALV list, but I am not able to handle multiple selection of the chk-boxes??
    plz help..

    On the field catalog definition for the amount field pass CFIELDNAME as the <currency> fieldname. if this is maintained, i would assume it will solve your issue.
    Say for example, the amount field is AMOUNT and the corresponding currency fieldname is 'CURRENCY', the field catalog for this field should be filled in something like this.
    t_fieldcat-fieldname = 'AMOUNT'.         "amount field name
    t_fieldcat-tabname = 'IT_FINAL'.           "internal table name
    t_fieldcat-cfieldname = 'CURRENCY'.   "currency field name which will be referred
    append t_fieldcat.
    Hope this helps.
    Thanks,
    Balaji

  • How to implment multiple checkbox in labview

    Hi ,
    I have a case in which i need to make a panel with multiple checkboxes and select more then 2 or 3, is it possible to do , can you send an example.
    Attached is the example figure i need to implement in labview.
    Thanks,
    Ankit Gupta
    Attachments:
    checkboxes.png ‏26 KB

    Quick and dirty:
    Ingredients:
    1. Classic Cluster Set to Size to Fit and made fully transparent
    2. System Recessed Frame + Free label with transparent foreground
    3. Some number of System Checkboxes
    On the BD either Unbundle By Name or Cluster to Array are effective ways to deal with the individual values.
    Attachments:
    MulitpleCheckButtons.ctl ‏5 KB

  • I want to access multiple checkbox  value(its true or false when clicked)

    dear sir
    i want to access multiple checkbox value whether its true or not from one jsp to another jsp.how i can do this. because based upon checkboxes records are deleted and added.
    when i check on checkboxes and click on delete button the records are deleted onlybased upon checks.and these request forward to another jsp.so plz tell me about this.
    for example in gmail yahoomail or other mail various checkboxes are there. and if we check them and click on delete button then all checks mail are deleted.
    i will be very thankul to u sir..
    plz tell me.in this time i m in problem of this type.

    Disabled fields and unselected checkboxes/ radio buttons/ list elements are not tranmitted when a form is submitted. So when you try to getParameter() you'll only get the selected fields or you'll get a null if the field was disabled/ not selected.
    When you use this for a set of checkboxes/ radio button, you'll only get the selected ones. If nothing was selected, you'll get null. Work on your logic with this in mind.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    (Yes I know it's on JavaRanch but I think it applies everywhere)
    ----------------------------------------------------------------

  • Selecting multiple checkboxes with a button

    Hi, I'm currently making a booking form with a clickable map.  I'm trying to figure out the way to select multiple checkboxes (i.e. a zone on the map) with one button/checkbox.  Thanks!

    Just give them all the same name (and export value) and when you tick one, the others will be ticked automatically as well.

  • Selecting multiple checkboxes...Please Help!!!

    I am having an issue I have multiple checkboxes - once the checkboxes are selected, I would like some information to appear in a field and if checkbox is deselected I would like the text to disappear.
    My major problem is if all the checkboxes are selected at one time and the information appears in the textbox only one line of text will appear at once and I would also like for text to appear on separate lines and not on the same line.
    This is what I am working with now:
    if 
    (RadioButtonList4.rawValue == true) TextField.rawValue
    = "This is a value set using a script.";
    else
    TextField1.rawValue
    = "";
    Please Help
    Tammi

    Humm... did you make the Textfield multiline? (Sry but the easiest solutions often are overseen.)
    Okey I try to get what you want. I hope I got you right and didn't completly missunderstand you...
    Let's assume there are 4 checkboxes.
    Okey so the user has 5 options. He can choose each of the checkboxes and NO more or he can choose them all...
    choosing 2 out of 4 is not possible.
    javascript:
    if (this.rawValue == 1 && (checkbox1.rawValue == 1 || checkbox3.rawValue == 1 || checkbox4.rawValue == 1))
    // will select everything when more then one checkbox is selected... this one only goes for checkbox 2 the other are nearly the same though!!!
         checkbox1.rawValue = 1;
         checkbox2.rawValue = 1;
         checkbox3.rawValue = 1;
         checkbox4.rawValue = 1;
    if (this.rawValue == 0) // will deselect everything if one checkbox is deselected...
         checkbox1.rawValue = 0;
         checkbox2.rawValue = 0;
         checkbox3.rawValue = 0;
         checkbox4.rawValue = 0;
    Then you create a Textfield (where you normally input things) and put on the calculate event:
    if (checkbox1.rawValue == 1 || checkbox2.rawValue == 1 || checkbox3.rawValue == 1 || checkbox4.rawValue == 1)
    // will show up if one checkbox is checked. If you want it only to show up if all checkboxes are checked use && instead of ||
    this.presence = "visible";
    else
    this.presence = "invisible";
    if (checkbox1.rawValue == 1 && checkbox2 == 0)
    {this.rawValue = "only checkbox1 is selected";}
    if (checkbox2.rawValue == 1 && checkbox1.rawValue == 0)
    {this.rawValue = "only checkbox2 is selected";}
    if (checkbox3.rawValue == 1 && checkbox1.rawValue == 0)
    {this.rawValue = "only checkbox2 is selected";}
    if (checkbox4.rawValue == 1 && checkbox1.rawValue == 0)
    {this.rawValue = "only checkbox2 is selected";}
    //what will appear if it is only a single checkbox that is selected
    if (checkbox1.rawValue == 1 && checkbox2.rawValue == 1) //don't need the others since it is just one or all
    {this.rawValue = "all checkboxes are selected \ncheck1 \ncheck2 \ncheck3 \ncheck4"}
    The thing is, I don't think you can easily input data in static "text"fields. Since you already know how to show and hide you can do that one on your own I think ^^
    If I missunderstood you and you just want to add/change the text by the checkboxes that are selected plz say so.
    If I got you totally wrong and you just have let's say 10 checkboxes which can be selected and deselected and each one will provide a textfield with data, I can make you a little script for the calculate event...
    Just tell me how many checkboxes they are... could get much to write (especially if they are more checkboxes) but I've got a script that will create even long scripts really fast

  • Dynamic Page with Multiple Checkboxes

    I am trying to get a dynamic page to pass the checked value of multiple checkboxes to the submit proceedure. Can anyone tell me what I am doing wrong?
    Thanks in advance,
    Pam -------------------------------------------------------------------------
    Dynamic Page:
    <HTML>
    <FORM action="scott.brsubmit" method="POST">
    <TABLE border CELLPADDING=0 CELLSPACING=0>
    <ORACLE>begin
    for c1 in (SELECT rowid,ename, job, bonus from scott.bonus_approval where approved is null)
    loop
    htp.p('<tr><td><FONT FACE= ARIAL SIZE=1>');
    htp.p(c1.ename);
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1>');
    htp.p(c1.job);
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1>');
    htp.p(c1.bonus);
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1><B>');
    htp.p('<input type="hidden" name="p_ename" value='||c1.ename||'>');
    htp.p('<input type="checkbox" name="p_cb" value="Y">');
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1><B>');
    htp.p('<input type="checkbox" name="p_cb2" value="N">');
    htp.p('</td></tr>');
    htp.p('<br>');
    htp.p('
    end loop;
    HTP.P('</table>');
    htp.p('<p>');
    htp.p('<input type=submit value="Save" name="p_action" >');
    end;
    </ORACLE>
    </form>
    </BODY>
    </HTML>
    Procedure:
    (p_ename in portal.wwv_utl_api_types.vc_arr, p_cb in portal.wwv_utl_api_types.vc_arr, p_cb2 in portal.wwv_utl_api_types.vc_arr, p_action varchar2)
    as
    begin
    if p_action = 'Save' then
    for i in 1..p_ename.count loop
    if (p_cb(i) = 'Y') then
    update scott.bonus_approval set approved = p_cb(i) where ename = p_ename(i);
    COMMIT;
    else
    if (p_cb2(i) = 'N') then
    update scott.bonus_approval set approved = p_cb2(i) where ename = p_ename(i);
    COMMIT;
    END IF;
    end if;
    end loop;
    end if;
    htp.print('<script language="JavaScript">');
    htp.print('function display() {
    var msg = "\nRecord Saved Successfully\n";
    alert(msg)');          
    htp.print('}');
    htp.print('display()');
    htp.print('</script>');
    exception
    when others then
    htp.print('<script language="JavaScript">');
    htp.print('function display2() {
    var msg = "\nRecord Not Saved.\n";
    alert(msg)');          
    htp.print('}');
    htp.print('display2()');
    htp.p('Not saved');
    htp.print('</script>');
    end;

    Hi.
    I have a dynamic page, with a bind variable :v_day. On the customization screen the user can select one or more days of the week, or all days. I use this also in a report and then it works ok. In the where clause i use:
    and rtrim((to_char(date_time,'DAY'))) IN :v_day
    Date_time is a tablecolumn (date).
    When i add this line in the select script from the dynamic page, i get error:
    : ORA-06550: line 1, column 2443:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    The symbol "(" was substituted for "" to continue.
    ORA-06550: line 1, column 2606:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    . ( ) , * @ % & - + / at mod rem <an exponent (**)> and or ||
    The symbol ")" was substituted for ";" to continue.
    ORA-06550: line 1, column 3236:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    The symbol (WWV-11230)
    Critical Error in wwerr_api_error.get_errors! SQL Error Message: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWV-)
    Thanks.

  • SQL for multiple checkboxes

    Hello!
    I'm stuck on a SQL statement that I was wondering if someone
    could possibly assist me with.
    I working on a search page for a particular company site of
    antique dealers. There is a "Search By Categories" section on the
    main search page where users can select multiple checkboxes to
    return any antique dealers in those categories.
    When the search button is clicked, a comma delimited string
    of category IDs is passed to the search results page. (ex.
    "2,14,15,20,22,25,37,40")
    Each antique dealer has a database field that contains a
    comma delimited list of any category IDs that they are associated
    with since they can be associated with more than one category if
    they'd like to be...and just about all of them are currently
    associated with more than one category
    SO...we have a string being passed from the search page that
    could look something like this: 2,14,18,20,22,25,37,40,64
    ...and in the database each dealer has a DealerCats field for
    all the categories they're associated with that might look like
    this: 6,7,18,30,64,66
    My question is: how can I write the select statement to
    basically say "select all dealers from the Dealers table where any
    of the passed category IDs (clicked on from the search page) exist
    in the DealerCats field for each dealer?"
    I already tried something to the effect of:
    SELECT * FROM DEALERS
    WHERE DealerCats IN (#FORM.dealerCat#)
    ...but this did not work. I don't get an error, I just get a
    blank content area (the rest of the template is not broken in any
    way...just blank area where either results should appear or a "no
    results" message should appear.
    Also, I DID create a page that displays both the form value
    of the selected checkboxes as well as any given DealerCats field in
    the database to make sure that both are comma separated values
    formatted exactly the same.
    Unfortunately, I am unable to provide outside access to the
    testing server that I'm working off of for this particular company,
    so I do apologize.
    However, if anyone understands what it is I am trying to
    accomplish and can based on my explanation, I hope that will help.
    Feel free to ask for any additional clarification.
    Thank you very much!!!
    - Tony
    Chicago, Freelance Web Developer

    Hi,
    Thanks for responding!
    I need a little clarification, if you don't mind, so please
    bear with me here...
    Basically, I created a database admin tool to add/edit/delete
    dealers and categories because other users will need to eventually
    need to have access to it. For each dealer record, a list of
    checkboxes is dynamically created (linked from the categories
    table) so that any given category can be clicked on that the dealer
    would like to be associated with.
    If all I needed to do is display the categories, this would
    be fine.
    If only ONE category was allowed and I only needed to do a
    check against one category, this would also probably be fine.
    So, I was hoping I could try to still make this work since
    the database admin tool was proving to work very well up til this
    point. But you are right...a many-to-many setup is going to be the
    way to go, it seems (and in most cases, it usually is anyway).
    My guess is you're suggesting a 3rd table (a many-to-many
    table) that has one column that has Dealer IDs and another that has
    Category IDs that are both linked from the Dealers and Categories
    tables. Yes?
    My quesion is: since each dealer can be associated with more
    than one category, and the object is to do away with a comma
    delimited list, are you suggesting it be set up so that each dealer
    ID would be repeated 1 record at a time for each different category
    it's associated with? For example:
    DealerID | CategoryID
    1 10
    1 15
    1 22
    1 40
    2 1
    2 8
    2 18
    2 21
    2 22
    2 25
    2 35
    3 12
    3 20
    3 34
    ...etc. etc. etc.
    I'm just trying to make sure I'm understanding what you would
    suggest here.
    Thanks so much for your assistance!
    Best,
    Tony

  • Multiple checkbox selection in ALV and updating internal table

    Dear Expert,
    Can anyone tell me how to handle the multiple checkbox selection in ALV Grid report and then updating the internal table.
    I tried the option but it works only when i select only 1 row in ALV.
                    DO L_LINES TIMES.
                      read table icoas index rs_selfield-tabindex.
                      if sy-subrc = 0.
                        ICOAS-NOCHK = 'X'.
                        modify ICOAS INDEX rs_selfield-tabindex TRANSPORTING NOCHK.
                      ENDIF.
                    ENDDO.
    Requires help....
    Regards & Thanx,
    Bhupathi.

    Hi,
    Use this method to capture the check box event. Write this once you create your grid using CREATE OBJECT grid1.
    DATA:      GRID1 TYPE REF TO CL_GUI_ALV_GRID,
    CALL METHOD grid1->register_edit_event
      EXPORTING
        i_event_id = CL_GUI_ALV_GRID=>MC_EVT_MODIFIED
      EXCEPTIONS
        ERROR      = 1
        others     = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      LOOP AT T_GRIDDETAILS INTO WA_GRIDDETAILS.
        IF WA_GRIDDETAILS-CHECKBOX = 'X'.
                  "Do your operation
        ENDIF.
        CLEAR WA_GRIDDETAILS.
      ENDLOOP.

  • Inserting multiple checkboxes into a table cell

    Hi all, new to Livecycle so I could use a little advice.
    I'm trying to insert multiple checkboxes into a single table cell, but as far as I can tell that seems impossible as one checkbox fills the entire cell. Now how do I go about splitting the table cell into 2 rows so that I can insert both of the checkboxes?
    I've also got to add a button to create new rows for the table on click so I don't know if that will factor into the answer.
    |        Header               |           Header2             |           Header3           |
    |                                  |                                      |__________________|
    |                                  |                                      |                                    |
    I hope this crappy ascii drawing comes out right, but that's what I need to happen.
    Thanks!

    Hi Chris,
    I think this should give you what you need: Working with a Multiple Select List Item
    --Jennifer                                                                                                                                                                                                                                                                                                                                                                                                   

  • Multiple Checkboxes

    I'm using Struts. I've applied over a dozen code examples, using 3 different strategies, and in 4 hours I've not been able to get multiple checkbox values sent to the server.
    10 dukes to anyone that can give me an example that actually works.

    html:multibox works for me:
    JSP code:
      <logic:iterate id="report" name="reportList">
            <tr><td>
              <html:multibox property="reportIds">
                <bean:write name="report" property="id"/>
              </html:multibox>
            </td>
            <td><bean:write name="report" property="name"/></td>
            <td><bean:write name="report" property="description"/></td>               
            </tr>
        </logic:iterate> In the formbean:
        public Integer[] getReportIds() {
            return reportIds;
        public void setReportIds(Integer[] reportIds) {
            this.reportIds = reportIds;
        }That gives an array of all the checkboxes which were "checked" on the screen.
    You could just as well use a String[] as an Integer[], I just knew that all the values would be Integers, so it saves converting them myself.
    Cheers,
    evnafets

Maybe you are looking for

  • Deemed  Exports and Exports LoUT to follow same Number Range

    Hi CIN Gurus, Client requirement is : Domestic Excise Invoice- No Range 8500- 9999 Deemed Exports Excise Invoice No Range: 201-999 Exports under LoUT Excise Invoice No Range: 201-999 Deemed One Invoice raised it should take 201 and the next invoice r

  • Connection to ipod lost?

    I'm trying to sync my ipod to my computer to update my music. Everytime though it starts syncing then stops and says ipod cannot be synced because connection to ipod has been lost. I thought it was my cord so I switched that but I'm still getting the

  • Open XML file and modify

    Hello All, anybody have a procedure to open a XML file and modify some os that tags and after save it at a local file or a server? Best Regards, Ricardo

  • Browser button disppeared...

    Hi, after updating to 7.2, when I open a movie within the browser, the movie play fine but the button below disappeared and basically shown as a black stripe, it still exist I believe because I can still click and scroll on that blindly but the graph

  • Can't get past Log-In window--Safe Boot

    I'll try and keep this easy/short: My iMac g-5(first Gen i-sight), when upon startup, the wheel would just spin and then the fans would blow turbo while stuck on the spinning wheel. Was running on Tiger but was able to salvage the h/d and all on it,