How to display the size of an Collection attribute of a bean?

2001-04-10 Thread Thai Thanh Ha
I want to display the size of an Collection attribute of a Bean using Struts taglibs.  I can use scriptlet but are there any other ways to do that?   Regards, Thai

RE: How to display the size of an Collection attribute of a bean?

2001-04-10 Thread Cook, Levi
MAIL PROTECTED]] Sent: Tuesday, April 10, 2001 2:43 AM To: [EMAIL PROTECTED] Subject: How to display the size of an Collection attribute of a bean? I want to display the size of an Collection attribute of a Bean using Struts taglibs. I can use scriptlet but are there any other ways to do that? Reg

RE: How to display the size of an Collection attribute of a bean?

2001-04-10 Thread Niall Pemberton
How about implementing a getSize() method in your bean which returns the size, then you can use the tags such as -Original Message-From: Thai Thanh Ha [mailto:[EMAIL PROTECTED]]Sent: 10 April 2001 08:43To: [EMAIL PROTECTED]Subject: How to display the size of an Collection

Re: How to display the size of an Collection attribute of a bean?

2001-04-10 Thread Michael McCallister
At 03:33 AM 4/10/2001, you wrote: >I want to display the size of an Collection attribute of a Bean using >Struts taglibs. I can use scriptlet but are there any other ways to do that? > >Regards, >Thai Based on a response from [EMAIL PROTECTED] to a bug I filed, it appears you can use the bean: