Re: Display collection size with jstl

2004-08-01 Thread Linus Nikander
lf Of Linus Nikander > > Sent: Saturday, July 31, 2004 8:39 AM > > To: [EMAIL PROTECTED] > > Cc: [EMAIL PROTECTED]; > > [EMAIL PROTECTED] > > Subject: Display collection size with jstl > > > > > > How do I output the size of a collection whilst NOT in a

RE: Display collection size with jstl

2004-07-31 Thread Robert Taylor
; To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: Display collection size with jstl > > > How do I output the size of a collection whilst NOT in a loop ? > > I've tried all the > > > > > variations I can think of but it doesn&#

Re: Display collection size with jstl

2004-07-31 Thread Bill Siggelkow
There is not a way to do it with JSTL 1.0 -- there is a way using the function tag lib in JSTL 1.1. If you are using Struts ;) use the tag to create a page-scoped variable which can then use. Linus Nikander wrote: How do I output the size of a collection whilst NOT in a loop ? I've tried all th

Re: Display collection size with jstl

2004-07-31 Thread ron1
use the tag bean:size Cheers, Ron Linus Nikander wrote: How do I output the size of a collection whilst NOT in a loop ? I've tried all the variations I can think of but it doesn't seem to work. Do I have to use a loop-structure to get at the size ? or do I have to bind the collection to a page-va

Display collection size with jstl

2004-07-31 Thread Linus Nikander
How do I output the size of a collection whilst NOT in a loop ? I've tried all the variations I can think of but it doesn't seem to work. Do I have to use a loop-structure to get at the size ? or do I have to bind the collection to a page-variable before I can get the size ? Or is there a syn