jQuery in Action, 3rd edition
The moose likes Struts and the fly likes Multiple checkbox display Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Multiple checkbox display" Watch "Multiple checkbox display" New topic

Multiple checkbox display

Dragos Crintea

Joined: May 21, 2008
Posts: 9
Hi all!

I would like to know how can I do a display formating for checkboxes. I have a <c:forEach> loop which returns me 100 checkboxes with the attached name. I would like to be able to display in a row only 4. Then the next row has the next 4 and so on. Until now I did not found any solution for this.

Thank you and any help is much appreciated!

Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Here's a brief snippet that demonstrates one way to do this:

[ May 21, 2008: Message edited by: Merrill Higginson ]

Consultant, Sima Solutions
I agree. Here's the link: http://aspose.com/file-tools
subject: Multiple checkbox display
It's not a secret anymore!