struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harring Figueiredo" <>
Subject [S2] Testing for size of Collection inside a s:if
Date Thu, 12 Apr 2007 02:02:08 GMT

How do I call the isEmpty() method (or any other non-bean conforming method)
inside a <s:if> tag?

I can test for null as:

<s:if test="{collection == null } ">

But, I also need to test for empty collection.

Thank you in advance.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message