Hi I'm iterating over a List<Element> with <s:iterator status="status" value="structure.elements"> and I want to test that the element returned is an instanceof a specific type of element, so I've tried with
<s:if test="%{<s:property/> instanceof StringElement}"> <s:if test="%{structure.elements[#status.index] instanceof StringElement}"> <s:if test="structure.elements[%{#status.index}] instanceof StringElement}"> none of which work. Could some kind soul show me the correct syntax for this? Regards -- View this message in context: http://old.nabble.com/s%3Aif-tag-syntax-help-needed-tp28093648p28093648.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org