The code below (part of a JSP) is not printing out anything, even though I know for a fact that there are members of the iterator that pass the test. Any ideas?
<s:iterator value="bulletins">
<s:if test="approved == true">
<s:property value="name" /> -- <s:property value="subject" />
<s:property value="date" />
<br />
</s:if>
</s:iterator>
It might your IF test, not the iterator (which I’m sure works, and assuming you have bulletins to list). The IF test language (expressions) can be tricky. Try taking out the IF first, just to make sure you actually have data, then fix the IF test if need be.