Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple checkbox display

 
Dragos Crintea
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!

D.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a brief snippet that demonstrates one way to do this:

[ May 21, 2008: Message edited by: Merrill Higginson ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic