Hey,
Where did you get that <logic:if> tag?  I looked into the struts docs and
didn't see it there.  I know you can use <logic:equal> so it's not a
problematic issue, but just out out of curiosity, does <logic:if> exist?

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


-----Original Message-----
From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 6:55 PM
To: [EMAIL PROTECTED]
Subject: Re: With Struts tag, Size of ArrayList


Subject: Re: With Struts tag, Size of ArrayList
From: "Senen de Diego" <[EMAIL PROTECTED]>
 ===
You can use:

<bean:size id="arraySize" collection="arrayList"/>
<logic:if name="arraySize" value="0">
..
</logic:if>

For a description of bean-size:
http://jakarta.apache.org/struts/struts-bean#size

Senen

"Daniel Jaffa" <[EMAIL PROTECTED]> escribio en el mensaje
news:[EMAIL PROTECTED]...
> Did a little research and could not find an elegant way to find out if an
> arraylist that i send over is populated or not.  Currently I send the size
> of the array list.  But would like to do something like
> <logic:if name="arrayList" property="size" value="0">
>
> </logic:if>
>
> --
> 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