Hi Sanjana,

Does breaking out of logic:iterate tag mean you only want to print a portion
of what you have in your collection
based on some condition.

If that is the case after you filter out the result set as much as you can
on the database level, you can use logic:equal or logic:match and such tags
to spit out only what you need inside the logic:iterate tag.

HTH
Rajesh

-----Original Message-----
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 11:01 AM
To: 'Struts Users Mailing List'
Subject: RE: iterate tag


It was just a thought, the only thing that came to mind.  I'm not sure what
you mean by filtering it out at the database level though.  There are lost
of iteration situations that are independent of database operations where it
could be useful, I think.

~ Keith
http://www.buffalo.edu/~kkamholz



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 11:04 AM
To: [EMAIL PROTECTED]
Subject: RE: iterate tag



If you were to do that, why bother bringing the data back in the first
place?  Filter it out at the database level...

Maybe Sanjana will tell us when he drops by...


-----Original Message-----
From: kkamholz [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 10:40 AM
To: struts-user
Subject: RE: iterate tag


The only thing I can think of is extending/modifying the iterate tag to
create a pretty unflexible break condition.  Maybe you could add a
'break'
attribute, and if the next element of the iteration is equal to the
value
specified in the 'break' attribute, the iteration is stopped.  This
seems
like it could work, but might be more trouble than it's worth.

~ Keith
http://www.buffalo.edu/~kkamholz



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 10:09 AM
To: [EMAIL PROTECTED]
Subject: RE: iterate tag



I dont think so, but what are you trying to do specifically... There are

a few pager taglibs and one that does grouping also...



-----Original Message-----
From: sr.2002g [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 8:47 AM
To: struts-user
Subject: iterate tag


Hello,


Is there a way to break out of the iterate tag?? something like the
break in the for loop?

Thanks,
Sanjana


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to