Cannot access a arraylist of arraylist
crazykoder <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I have an arraylist of arraylist. the second arraylist contains two elements
first one string and second one another list.
I was iterating this way and getting the string which is the first element
in the second array list.
imageTemplateNotes ---Arraylist(outer)
itnote ----------Arraylist(contains two elements string, list)
<#list model.imageTemplateNotes as itnote>
Image Name = ${itnote.get(0)}
</#list>
Getting the following exception:
Expected hash. itnote evaluated instead to
freemarker.template.SimpleSequence on line 135, column 48 in
emr_print_html_template.
The problematic instruction:
----------
==> ${itnote.get(0)!""}
Any help would be appreciated.
--
View this message in context: http://freemarker.624813.n4.nabble.com/Cannot-access-a-arraylist-of-arraylist-tp2217023p2217023.html
Sent from the freemarker-user mailing list archive at Nabble.com.
------------------------------------------------------------------------------