All
I am trying to create an email using a velocity template all wired up
with Apache Camel. The camel stuff aside I can't seem to get velocity
to render Scala lists along the lines of:
#foreach($email in $headers.emailAddresses)
hello $email
#end
where headers is a map and emailAddresses is a list. Strings in the
headers map works fine i.e. ${headers.sender}.
If I dump out the contents of headers using ${headers} the toString
for the map renders as expected.
I have not delved into the velocity code but I wonder if tries to
create a java interator over the list which does not work in this case
- maybe?
--Ewan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---