This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts tag iterator new line every 4th item Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts tag iterator new line every 4th item" Watch "Struts tag iterator new line every 4th item" New topic
Author

Struts tag iterator new line every 4th item

Kevin P Smith
Ranch Hand

Joined: Feb 18, 2005
Posts: 362


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

Joined: Sep 10, 2011
Posts: 57
try to use:



or



Advanced java topics
Kevin P Smith
Ranch Hand

Joined: Feb 18, 2005
Posts: 362
Fantastic, cheers


Is exactly what I was looking for!

TQ
Minh Nam
Ranch Hand

Joined: Sep 10, 2011
Posts: 57
Kev Bellion wrote:Fantastic, cheers


Is exactly what I was looking for!

TQ


Yes, exactly!
 
GeeCON Prague 2014
 
subject: Struts tag iterator new line every 4th item