Musachy Barroso wrote:
<s:if test="collection != null && !collection.isEmpty()">
...
</s:if>
//more elegant :)
<s:if test="collection != null && !collection.isEmpty">
...
</s:if>
http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/specialCollectionsProperties.html
isEmpty is a "pseudo-property" of every collection, so there's no reason
to call it as a method().
-Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]