Hi, I'm trying to show a "There are no items in the list" message in my application. I'm using a subset the following way:
<s:subset source="myList" decider="myDecider" var="myListIterator"> <s:if test="#myListIterator.hasNext()"> <s:iterator status="status"> <tr class="<s:if test="#status.even">even</s:if><s:else>odd</s:else>"> <td><s:property value="%{name}"/></td> <td><s:property value="%{type}"/></td> </tr> </s:iterator> </s:if> <s:else> <tr> <td colspan="2">There are no items in the list</td> </tr> </s:else> </s:subset> But I'm not able to find how to access to the subset iterator... to check if the iterator (or the subset list) is empty. I'd appreciate any help. Thanks, Cris -- GPG Key-ID: 0x564903FA - JID: corell...@swissjabber.ch --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org