Hi,
A bit of an obscure one this, but if you'll indulge me...
I am iterating through an Arraylist of HashMap objects that are in the session so I have:
<c:forEach var="map" items="${Messages}"> <td><c:out value="${map.[MessageType.MSG1].data}"/></td> </c:forEach>
The problem is that I get no output. The issue is with the fact that the map is keyed on a typesafe enum pattern (e.g.,):
public final class MessageType { public static final MessageType MSG1 = new MessageType(); public static final MessageType MSG2 = new MessageType(); }
If I set up test data with Strings as the keys then it's all ok. Any ideas? (unfortunately, I have to keep the typesafe enum pattern!).
Thanks, Andy
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]