Re: Checkboxes problem

2007-07-05 Thread Andreja
Yes, I agree, but in that case I can not display checkboxes vertically (each one in a new row). To be able to do so using checkboxlist I would have to make a custom template. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: Checkboxes problem

2007-07-04 Thread tom tom
because you have the list, you can do the following You dont need to iterate --- Andreja <[EMAIL PROTECTED]> wrote: > Thank you very much Sharad, that WORKS! :] > > > > Just for the archive, this is also a possibility: > > > fieldValue="${manyNames[cnt.index]}"> >

Re: Checkboxes problem

2007-07-04 Thread Andreja
Thank you very much Sharad, that WORKS! :] Just for the archive, this is also a possibility: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Checkboxes problem

2007-07-04 Thread sharad bhushan
TED]> To: Struts Users Mailing List Sent: Wednesday, 4 July, 2007 1:24:25 PM Subject: Re: Checkboxes problem Sharad, thank you for the answer. Keeping in mind what you said, I tried to make it work like this: This populates the checkboxes, but when I submit th

Re: Checkboxes problem

2007-07-04 Thread Andreja
Sharad, thank you for the answer. Keeping in mind what you said, I tried to make it work like this: This populates the checkboxes, but when I submit the data, all I can get is ArrayList of true booleans: [true, true...], and I can not use that. I need something like:

Re: Checkboxes problem

2007-07-03 Thread sharad bhushan
Hi, Just a suggestion Why dont you have the common name for all check box holding the different values.How ever you may loose the struts2-checkbox feature(checkbox state) by doing this.YOu can populate the values of the checkbox in to a bean and use the across. Regards Sharad Send free SMS

Checkboxes problem

2007-07-03 Thread Andreja
I have a form that contains over a 100 checkboxes. They have unique names, and I need to populate them from (Array)List. As a result, I also need a ArrayList of Strings that contains only elements that user has checked. I did so by using LinkedHashMap and tag s:checkboxlist, but I can not make ch