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.

Similar Messages

  • Problem with multiple Toplink/JPA apps in same server

    Anyone have experence of running serveral Toplink/ EJB-3 Web apps in the same server (OC4J, alas)?
    We seem to get a problem with the second app failing to initialise toplink, with an entity not found message. Each app runs OK on it's own.

    Yes, they access the same datasource and most of the tables overlap.
    We're thinking it might help to have common entity classes and put them in a shared library, but I don't know if this is relevant (setting up shared libraries complicates testing and tends to snowball, I reckon we need about 15 jars all told).
    I''ve had some funnies on OC4J before which I think may be to do with it's use of ClassLoaders, for example I initially put persistence.xml in the libary jar with the data model, but for some reason I get the entity not found error that way. It only seems to work if it's in the classes folder.
    For the moment we're getting arround the problem with multiple OC4J instances in the server.

  • Problem with multiple versions of documents being published with 001, 002, etc.

    I am using Contribute CS3. I am having a problem with multiple versions of documents being published on the sever with 001, 002, etc in the name. So that I end up with 2 or 3 versions of a document on the server. Does anyone know why / how Contribute  is doing this? Thanks for any help you can give.

    Your Web site administrator will need to update your key to allow you to delete files you are able to edit.

  • Problems with multiple idocs in one file ( Inbound file )

    HI,
    Thanks in Advance for your suggestions.. Highly appreciated.
    We have problems with multiple IDocs in one file.
    We are using XIB ( Amtrix ) as Middleware to receive the files.
    Curretenly When the file contains one IDoc then there is no problem. IDoc is created and everything is ok.
    If file contains two IDocs ( for example two messages ORDERS and DELVERY ) then it is creating two IDocs but both IDocs contains ORDERS plus DELIVERY segements information. That is the problem. Some how SAP unable to differentiate the IDocs in the file.. But it knows that how many idocs are there in the file..because it is creating exact number of idocs.
    We are using TRFC port ... Do I need to change it to File port..
    When we have more than one idoc do we need set any parameter in the file ...

    Thanks for the swift response. Always ideas are useful.
    As of now , Middleware cannot split the file.
    Thing is SAP is creating two Idocs with different message types. Problem is First IDoc contains ORDERS message type but also DELIVERY segments as well. Second IDoc with DELIVERY message tyoe but ORDERS segments as well... This is the problem... I think we are missing some field activation in file for EDIDC record.
    As far as I know file port supports the number of IDocs in one file.. Hope TRFC port also supports that

  • Problem with multiple forms and subview

    I have a problem when using NetBean Web Pack (JDK6, Net Beans 5.5, JSF 1.2).
    1) I created a JSF page (hello.jsp) and a page fragment (header.jspf) inside Web Pack, and let the JSF page (hello.jsp) includes the page fragment.
    2) The include instruction is outside of the "form" element id=main_form() of the first JSF page.
    3) Inside the page fragment (header.jspf), I put a form (id=header_form) with some input fields inside the "subview" element.
    4) When running the web application, the form and its children (id=header_form) inside the subview are not rendered.
    It seems to be a problem with multiple forms on a page and the subview.
    Do I use these JSF components incorrectly? Any advice?
    Thanks

    The forms are not nested.
    hello.jsp
    <webuijsf:body ...>
    <!-- BEGIN: include header -->
    <div style="margin: 0px 0px 10px 0px; left: 0px; top: 0px">
    <jsp:directive.include file="Header.jspf"/>
    </div>
    <!-- END: include header -->
    <webuijsf:form ...>
    From above fragment, you can see the header.jspf is outside of the form element.

  • LOV Problem with multiple values

    HI All,
    I have a problem with LOV .When ever i click LOV after search button all values are displaying fine.
    But when i get so many values i want to select only one vlaue that is not cmng to the main page ....Cursor is in running state always after that time out error is coming in my application .
    This problem is coming with with only single value selection in lOV only problem with Multiple values retrival that time only...
    (Iam using 11.1.1.3 Jdeveloper.)
    Thanx in advance...

    duplicate of {thread:id=2286814}

  • Problem with Matrix/Checkbox/Datasource

    Hi, i have a problem with a Matrix.
    There are 3 Columns on this Matrix, one of those is a Checkbox. I fill the Columns with data, the Checkboxes where just added (no Checkbox is selected), the user has to select the value (Checkbox)he want's to by hand.
    After i filled the Matrix i can see all the data on the Form, it's OK, but then i loose all entries after SBO is doing some work. There where shown only the empty rows and the checkboxes.
    I guess it has something to do with the databinding. My problem is that i don't have the Data for this form on a db-table. I fill in the matrix the result of some querys. It looks like i need at least a DB-Field for the checkboxes, otherwise there are not working (not selectable)
    Somebody knows a solution how i can keep the Data in the Matrix after SBO is doing some work? What could be the reason that i loose the data after filling it in the Matrix? Is there an easy way?
    Thanks Andreas

    Almost every item on a form need a datasource... If the item reprecents some data in a table the databinding must be a dbds... If the data does not reflect any data in a table (Calulated value, user-decision, ect.) a userdatasource need to be created...
    Add a userdatasource
    oForm.DataSources.UserDataSources.Add(UID,type,length);
    Databind to DBDS
    col.DataBind.SetBound(true,”TABLE”,”FIELD”);
    Databind to UDS
    col.DataBind.SetBound(true,””,UID);

  • Problem with clicking CheckBox eswith eCATT recording

    Hi All,
    Iam using SAP GUI 640,ECC500.
    Am trying to set some default setting in Finance Transaction FB00 with clicking some checkboxes.
    So,After i recorded with clicking checkboxes,For testing that recording i unchecked the check boxes manually and executed the script .but i dont see any boxes checked after i execute the script.I checked in the debugging mode,it is showing in the screen that the checkboxes are checked.but at the end of the script when i open the transaction manually the checkboxes are unchecked.
    Is their anything to be cautious when recording Checkboxes.If so please pass your comments.
    Thanks in Advance,
    Sarapu

    HI Rajender,
    Are you using TCD or SAPGUI for the recording.
    In either cases make sure that you are passing value "<b>X</b>" to the checboxes in your recording or passing value "<b>X</b>" to the variable you have assigned to the checkboxes.
    In general you donot need to take any special care for handling Check boxes and they are identified with both TCD and SAPGUI as part of the standard eCATTS.
    Hope this solves your problem. DO get back to me if you still have the same problem.
    -Harsha
    PS: Award points if this answers your questions.

  • HT6065 I installed this update.  I have never had problems with "multiple prompts to unlock "Local items" keychain" until after I installed this update.  Now, I can't get it to STOP prompting me.

    So how do I fix this?  How do I get this to go away?  It's prompting me for a password that I haven't ever set up!

    I have the same problem with three pop-up prompts:
    (1) com.apple.iCloudHelper wants to use the "login" keychain. Please enter the keychain password.
    (2) CalendarAgent wants to use the "login" keychain. Please enter the keychain password.
    (3) AddressBookSourceSync wants to use the "login" keychain. Please enter the keychain password.
    I can enter my login password and the prompt goes away for a little while, but eventually returns.  Or I can click on "Cancel" many multiple times and it goes away for a little while, but returns again.
    I want a solution too and hope this additional information will help.

  • Candlestick chart problem with multiple series

    Hello,
    I added one mx:CandlestickSeries object and couple additional
    mx:LineSeries objects to the chart. All series are represented but
    still I have one problem. More series I add - less candles are
    becoming of CandlestickSeries data. It seems that there should be
    any scaling option for all series in the chart or something like
    this, but I cannot find it. I'm still new in Flex Can anyone halp
    me with this?
    Thanx in advance
    marukas

    I've added screenshots to get better view of the problem.
    Here is chart with addtional series:
    Chart
    with multiple series
    And here nothing is changed except that additional line
    series were removed:
    Chart
    with only one CandlestickSeries
    Is it possible to get the same candles as in 2nd view with
    addiotnal series added?

  • Problem with multiple client numbers from a view

    Hi Gurus,
    I have a problem with a view
    Creates a view with a UNION ALL stmt
    =====================================
    Create view vw_benifits
    as
    SELECT
         Client_num, -- can have multiple values like 200,201,250
         PERNR,     
         OBJPS,     
         ENDDA,     
         BEGDA,
         AEDTM,     
         UNAME,
         COB_MNTH_AMT
    FROM
         STG_SAP_PA9211_TB
    UNION ALL
    SELECT
         null, -- no client number for legacy data
         PERNR,     
         OBJPS,     
         ENDDA,     
         BEGDA,
         AEDTM,     
         UNAME,
    COB_MNTH_AMT
    from
         LEG_STG_SAP_PA9211_TB;
    ==============================
    The second table contains legacy data (LEG_STG_SAP_PA9211_TB). The first table now contains multiple client data (ie the client_num can be 201,202,250 like that.
    Now if the users qery the view they will only get that clients data.
    eg selet * from vw_benifits where client_num=250 results only client 250 data. But I want to add the legacy data also with that.
    I don't want to propose
    selet * from vw_benifits where client_num in (250,NULL) since the users will be confused.
    Is there any other way to do this . my requirement is like
    If they query
    select * from vw_benifits where client_num=250, the data should include all the records satisfying client=250 + the records from the legacy data. The view need to be created like that.
    Appreciate your help
    Deepak

    Hi Thanks for the suggestion.
    But I am not sure this may work for me. Here my users may not be able to use that since they don't know Oracle.
    I want to hide that details from them
    They may just issue a statement like this
    select * from vw_benifits where client_num =250
    Or
    select * from vw_benifits where client_num =400 . But both times I need to show them the data from the legacy table.
    Deepak

  • Problems with Multiple Photo Galleries

    Hey all, I am having issues with multiple photo galleries. The problem is, iWeb will randomly delete old photo libraries when new ones are made.
    My workflow is each blog entry has its own Photo Library attached to it, so i really would love to be able to keep this functionality.
    Does anyone have any clues as to why they are getting deleted? They literally just vanish from the entries in iWeb...
    Many thanks, Matt

    mattperrott wrote:
    Each blog entry has a iweb photo gallery attached to it. I create these by duplicating a previous blog entry, and changing the details as well as the photos contained inside.
    Matt ~ Even without adding such complexity, many people have problems with their iWeb blog. So even if someone helps you to solve this problem, you may then be back with a different iWeb blog problem: Lost all your blog entries or all your comments or unable to publish, etc.
    mattperrott wrote:
    Any thoughts on why this might happen?
    The simple answer is that Apple's implementation of iWeb's blog appears to be buggy. Every day on these forums you'll likely see a couple of problems with iWeb's blog, often "solved" like this: +"I deleted my blog page, and was able to successfully publish the site"+. Also, if you ever have to re-publish everything (say, after upgrading iWeb) you'll wish you had a web-based blog.
    mattperrott wrote:
    This isnt a problem currently but if i ever need to republish my entire site it is a potential killer, especially as it grows...
    The person who posted the following thread had similar concerns saying: +"...I get the feeling when this gets bigger, it'll outgrow iWeb's capability."+ Read his solution here:
    _To blog or not to blog_
    And to link to an external blog from iWeb's navbar:
    Create a blank internal page titled "Blog" (Actually you can name the page whatever you want.) Then in that Blog page add an HTML Snippet with the following code:
    <script type="text/javascript">
    parent.window.location = "http://www.yourblogname.com"; // change this to your own URL
    </script>
    ...Once published, clicking on "Blog" in the navbar will immediately redirect to your external Blog page. (Thanks to Cyclosaurus for the code).
    By the way, rather than posting your URL in these forums like this:
    www.local-hero.com.au
    ...include the prefix to make it conveniently clickable:
    http://www.local-hero.com.au

  • Problems with multiple e-mail accounts on Droid 2 & also can't put phone into Silent mode

    I just received my Droid 2 and having a problems with having multiple e-mail accounts.
    My original droid worked fine with all of this.
    I have 2 different personal e-mail accounts setup.
    When I click e-mail, it just defaults to the default e-mail address and I have no way of switching accounts. I have to change the default e-mail account in order to view the other account.
    Along with having a shortcut on the home page to each e-mail account, it always just goes to the default one and no way of adding a shortcut to both.
    When I did this on the original droid, i could choose which e-mail account I wanted a shortcut for and could obviously have both on the home screen.
    I also have found no way to NAME the accounts, ex. Comcast & Work.
    That way I could distinguish the difference between the 2 on my home screen even if I could get a shortcut to both.
    not sure how this could be overlooked but I sure dont think there is a way to make this happen.
    Also, what is with 2.2 System and not allowing you to put it in silent mode?
    I updated my original Droid to 2.2 and could no longer make it silent with the volume button on side or going into the sound settings and changing it to silent, it would always stay on vibrate.
    And now it does the same thing with Droid 2. I cant make it silent at all.
    Any ideas on either issue

    becker800 wrote:
    ok I got the silent problem fixed.
    The update changed vibrate to be always, even when on Silent mode.
    The e-mail problem however is stll an issue and I realy hope they release an update to fix this.
    I'm sure I'm not the only one with 2 e-mail accounts on their droid.
    I never had an original Droid, so I can;t compare to what was on that.  For me, I am using the "Messaging" app - it seems to be set up for multiple e-mail accounts better than the email app.  Messaging is the one recommended by the manufacturer - give that a try.

  • MDS Customization Problem with multiple root components

    Hello,
    Oracle JDeveloper 11.1.1.5.0 and WebLogic Server Version: 10.3.5.0
    I am using Oracle MDS Customization class with the following classes:
    oracle.adf.view.rich.change.MDSDocumentChangeManager
    org.apache.myfaces.trinidad.change.ChangeManager
    org.apache.myfaces.trinidad.change.MoveChildComponentChange
    Based on these classes I am moving UI components
    <af:panelStretchLayout>
    <f:facet name="center">
    <af:region />
    </f:facet>
    </af:panelStretchLayout>
    into another component thanks to the MDS.
    Once I do the movement and persist, I receive the following waning message:
    *<RegionRenderer> <encodeAll> The region component with id: pt1:r1:0:pt2:r1:0:r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.*
    When I run the application in Oracle JDeveloper 11.1.1.5.0, it work fine, but when I deploy it on WebLogic Server Version: 10.3.5.0 it is not working.
    I receive the same warning message on the server and in JDeveloper.
    I think that MDS makes a copy of the components that I move because of that it says me that "a page fragment with multiple root components"
    The problem is not because of duplication any of the tags <af:document> <f:view><f:form> <html> <head> <body>
    After the movement and persistence, I also call the FacesContext to reset its view root with the following code:
    FacesContext context =FacesContext.getCurrentInstance();
    String currentView = context.getViewRoot().getViewId();
    ViewHandler vh = context.getApplication().getViewHandler();
    UIViewRoot x = vh.createView(context, currentView);
    x.setViewId(currentView);
    context.setViewRoot(x);
    The idea is that the entire JSF tree to be rebuild on entering page with aim to clear previously drag and drop settings.
    Do you know how I can overcome the problem on the server WebLogic Server Version: 10.3.5.0?
    This worked on Oracle JDeveloper 11.1.1.3.0 and now the problem is with Oracle JDeveloper 11.1.1.5.0.
    Regards,
    Niki

    Hi,
    what the error means is that you have more than one node under the jsp:root node of the fragment. Say the content of your fragment is
    <af:panelGroupLayout id="pgl1">
    </af:PanelGrouPLayout>
    Then this is okay
    if you have
    <af:panelGroupLayout id="pgl1">
    </af:PanelGrouPLayout>
    <af:panelGroupLayout id="pgl2">
    </af:PanelGrouPLayout>
    or
    <af:panelGroupLayout id="pgl1">
    </af:PanelGrouPLayout>
    <af:commandButton id="cb1"/>
    Then these mean duplicated root components. The JDeveloper IDE flags this as Warnings (Structure Window) when selecting the page fragment
    Frank

  • AirPort Express (Problems with multiple remote speakers

    I've been so far successfully using several AirPort Express base stations to stream music from Itunes to differant rooms in my house. A week ago I suddenly started getting an error message ("Unknown Error -3256) when attempting to stream to multiple rooms. Anyone else having this problem all of a sudden? I've gone thru the configuration for Airport and each base station and everthing seems to be in order.... Any ideas... Anyone? thanks

    A lot of people including myself have been having problems with the airport. We think it's the AirPort update or the security update that is causing problems. If you're experiencing problems or slow downs with your internet then that's also part of the update. Wait till the next update or we find a workaround to this problem.

Maybe you are looking for