You can use <bean-el:size> tag
e.g.
<bean-el:size collection="${myForm.list}" id="listSize"/>
then use <c:if> on "listSize"
----- Original Message -----
From: "Riyad Kalla" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, June 06, 2004 5:45 AM
Subject: Taglib: how do you call a method like java.util.List.size() from the property
of a tag?
> I'm trying to do something like:
> <logic:greaterThan name="userList" property="size" value="20">
> <!-- Display paging controls -->
> </logic:greaterThan>
>
>
> but I'm obviously getting an exception on size because it doesn't follow
> JB naming conventions. How do I call this method? Do I NEED to use EL
> for this?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>