Here is an example of a Multi box that you can use. <logic:iterate id="apprEnEntry" name="listApprvGrpDetail" indexId="apprIndex"> <td align="center" nowrap> <b><bean:write name="apprEnEntry" property="appvr_grp_desc"/> </b></td> <td> <html:multibox property="selectedAssets"> <bean:write name="apprEnEntry" property="appvr_grp_id"/> </html:multibox> </td> </logic:iterate>
the property "selectedAssets" is a string array property of the form bean. In your action class you should get the list of "appvr_grp_id" 's that are selected. Hope that helps regards, Uday Karrothi On 11/10/06, Uday Karrothi <[EMAIL PROTECTED]> wrote:
I am with Christopher on this Daniel. You should appreciate the fact someone actually took time to answer your problem. I feel embarrassed if somebody actually said that to me, but not angry. I would put a better question next time. Keep the questions coming Daniel, give everybody a chance to learn from them. regards, Uday Karrothi On 11/10/06, Daniel Chacón Sánchez <[EMAIL PROTECTED]> wrote: > > Jajajajaajaja a coffee?, What you need is little of humility, I also had > > helped people answering their questions, the difference is that I´m not > a > prepotent person like you, this post was made by one partner because I > was > in a hurry and can´t answer her in the moment, but thank you for your 2 > minutes jajajajaja people like you don´t have to be in this mailing list > > > 2006/11/9, Christopher Goldman <[EMAIL PROTECTED]>: > > > > On Thu, 2006-11-09 at 15:33 -0600, Daniel Chacón Sánchez wrote: > > > anyone?? > > > > > > 2006/11/9, Daniel Chacón Sánchez <[EMAIL PROTECTED]>: > > > > > > > > If someone explain how to do this with a multiple select and with > > > > checkboxs better for me :-) > > > > > > > > 2006/11/9, Daniel Chacón Sánchez <[EMAIL PROTECTED]>: > > > > > > > > > > hi all! > > > > > > > > > > I have a question, I'm using struts. > > > > > > > > > > <html:select ... > > > > > <html:option .... > > > > > > > > > > I have an object of pacients, I show them on a JSP, then I need > to > > > > > select some of them (by checkbox) and then submit the form. In > the > > action i > > > > > need to know which patients where selected. The object of > patients > > is an > > > > > arrayList of patients which contains the id, name, etc. > > > > > > > > > > In resume in the action I need to know which are the IDs > selected > > from > > > > > the <html:select. > > > > > > > > > > P.D: something like the image > > > > Daniel, > > > > Have you tried searching for the answer online? > > > > Here's one possibility: http://www.husted.com/struts/tips/007.html > > > > That link was from: http://struts.apache.org/1.3.5/faqs/index.html > > > > Or Google: http://www.google.com/search?hl=en&q=struts%20checkboxes > > > > I think you weren't answered because the question is about basic > Struts > > functionality. The answers are all over the place -- it took me less > > than 2 minutes to find dozens of likely sources. > > > > I'm sorry to get snarky, but these good people spend much time > answering > > questions at no cost to the questioner. The least they (and I) expect > > in return is not to get asked FAQs, and then get desperate-sounding > > reposts when the replies are not quick enough for you. > > > > (Okay, maybe I need more coffee.) > > > > Chris > > > > -- > > Christopher D. Goldman > > [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > >