Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts tag iterator new line every 4th item

 
Kevin P Smith
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi guys

Just a quick question...Similar to the above example, is there a way I can start a new line for every 4th or 5th item in a list.

Cheers in advance!
 
Minh Nam
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try to use:



or


 
Kevin P Smith
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fantastic, cheers


Is exactly what I was looking for!

TQ
 
Minh Nam
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kev Bellion wrote:Fantastic, cheers


Is exactly what I was looking for!

TQ


Yes, exactly!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic