GeeCON Prague 2014*
The moose likes Struts and the fly likes Iteration using logic:iterate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Iteration using logic:iterate " Watch "Iteration using logic:iterate " New topic
Author

Iteration using logic:iterate

siva kumar
Ranch Hand

Joined: Sep 03, 2004
Posts: 86
is there anyway to control the <logic:iterate>.is it possible to break the iteration similar to switch... case...
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
balasubramanian,

Welcome to JavaRanch!

We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.

We request display names follow the pattern FIRST_NAME + SPACE + LAST_NAME.

Thanks Pardner! Hope to see you 'round the Ranch!


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Siripa Siangklom
Ranch Hand

Joined: Jan 26, 2004
Posts: 79
Why do you want to break the iteration?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30586
    
154

You could iterate through a smaller collection (and do the break in java.) Or you could use a logic:equal tag to not display some of the rows.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Iteration using logic:iterate