Hello, developers! I like Velocity very much, we use it for email
templates. Thank you for the great tool! But I have a little problem.
Maybe it's a bug, maybe I'm stupid thing.

I have a structure:
LinkedHashMap<String, List<DashboardTaskGroup>> otherTaskLists

I print it:
$otherTaskLists

And see:
[EMAIL PROTECTED],
[EMAIL PROTECTED],
[EMAIL PROTECTED], Wednesday=[],
Thursday=[],
[EMAIL PROTECTED]

It's ok. But I try to iterate it:
#foreach( $taskList in $otherTaskLists )$taskList  #end

And see:
[EMAIL PROTECTED]
[EMAIL PROTECTED],
[EMAIL PROTECTED] [] []
[EMAIL PROTECTED]

Where are the keys? And how to show them? I can do the same in JSTL, and
it works there through ${taskList.key}
velocity 1.5

Thanks. return mapping.findForward("success").

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to