Himanshu Ranavat wrote:
Hey thanx I did that already:

<s:if test = "array.length == 0">................</s:if>

Since there's no "getLength()" method on an array, that won't work.
OGNL has "pseudo properties" for collections that will, although I'm not sure if OGNL can treat an Array is a collection.

Try
<s:if test="%{array.isEmpty}">...</s:if>
or if maybe:
<s:if test="[EMAIL PROTECTED]@asList(array).isEmpty}">...</s:if>

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to