Martin Gainty wrote:
can we assume fieldErrors is some sort of List<E> ? http://java.sun.com/javase/6/docs/api/java/util/List.html#get(int)
No, fieldErrors is a map, the entries of which are a list--as the JSP snippet implied, and as in the docs.
<s:if test="fieldErrors.get('email').size() > 0"><s:property value="fieldErrors.get('email').get(0)" /></s:if>(would be easier to follow example if we could see referenced variables)
What referenced variables? Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

