Subject: Re: With Struts tag, Size of ArrayList
From: "Sen�n 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

Sen�n

"Daniel Jaffa" <[EMAIL PROTECTED]> escribi� 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]>

Reply via email to