Is there a way for me to conditionally exit logic iterate so that the looping will stop from iterating the collection?
I need the variable so I can set the proper color from css. Thanks.
Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
Dom Lassy
Ranch Hand
Joined: May 05, 2006
Posts: 181
posted
0
I can't think of a way to exit a logic:iterate. I assume that you want to exit the loop for performance issues. In theory, you should be doing this logic in your action class. You should just set a form variable that tells you which background to use in your action class and leave that logic out of your jsp.
Mark Reyes
Ranch Hand
Joined: Jul 09, 2007
Posts: 426
posted
0
Hi,
I assume that you want to exit the loop for performance issues
I am assigning id for my CSS file. But I finally find a way doing so by just letting the loop finish its iteration. Appreciate your help in responding . Thanks.