Adapting the way to reference bean from template model
Thierry Templier <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I have elements in the model map I provide to the template that have the following structure:
data
- name
- properties
- property
- name
- value
I would like to reference such objects and their properties like that: ${dataName} and ${dataName.propertyName}
Is it possible to do something like that using the bean wrapper feature of Freemarker? If so, what are the steps to follow.
Thanks very much for your help!
Thierry
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2