[FMPP] Help with the <#list> directive with a sequence
Brought to you by:
ddekany
|
From: Bruce P. <bpe...@ya...> - 2006-01-31 17:00:19
|
Hi,
I've inherited a project that uses freemarker and I need help understanding a concept. I am very new to freemarker.
A Collection (List) is being used with a <#list> directive namely if the collection is named stuff, the <#list> is:
<#list stuff as x>
and its elements as
${x.fieldname} where fieldname is an element in the collection.
What confuses me is that the fieldnames used aren't consistent with the definition of the collection. For example, if the collection is defined as having fields day_of_week and emp_Id, the syntax of the list references
${x.dayOfWeek} and ${x.empID}
How do I find out where the mapping of the names takes place?
Thanks for your help in advance.
---------------------------------
Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars. |