i have a HashMap stored in the session (as 'events') i'm trying to use the
logic:iterate tag to iterate through it in my jsp in a nested fashion. the
HashMap has a bean as the key and a collection of beans as its value. when i
try to run the page, i get an error: "Cannot create iterator for this
collection". any ideas?
my jsp looks like this.
<logic:iterate id="list" collection="events">
<bean:define id="event" name="list" property="key"
type="com.foo.bar.EventDisplay"/>
<bean:define id="tickets" name="list" property="value"
type="java.util.Collection"/>
<bean:write name="event" property="title"/>
<logic:iterate id="ticket" name="tickets">
<bean:write name="ticket" property="location"/>
</logic:iterate>
</logic:iterate>
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- logic:iterate question Graham Lounder
- Re: logic:iterate question Nicolas De Loof
- RE: logic:iterate question Ida D�rum
- logic:iterate question Andy Kriger
- Re: logic:iterate question Peter S. Hamlen
- RE: logic:iterate question Joe Barefoot
- logic:iterate question Andy Kriger
- RE: logic:iterate question Sri Sankaran
- RE: logic:iterate question Andy Kriger
- RE: logic:iterate question Susan Bradeen
- Re: logic:iterate question Garth Patil
- Re: logic:iterate question Garth Patil
- logic:iterate question Marco.Mistroni
- Re: logic:iterate question Sandeep Takhar
- logic:iterate question struts
- Re: logic:iterate question hernux
- logic:iterate question Turner Benjamin
- RE: logic:iterate question Turner Benjamin
- RE: logic:iterate question Slattery, Tim - BLS
- Re: logic:iterate question James Mitchell
- RE: logic:iterate question Slattery, Tim - BLS

