-
Notifications
You must be signed in to change notification settings - Fork 374
ODTReportingJavaMainListFieldAnywhere
Christian Busch edited this page Oct 17, 2016
·
3 revisions
Loop for fields in anywhere use syntax of the template engine. For instance if you wish generate list of name of developers you can write that with Velocity :
#foreach($developer in $developers)
$developer.Name
#end
And write that with Freemarker :
[developers as developer](#list)
${developer.name}
[
The only requirement is that you must use Mergefield to set this script. Here a sample with Velocity which use a Mergefield for start/end loop and developer name directive :
(/#list])
After report generation you can see that :
- Overview
- Getting Started
- FAQ
- Which License Applies
- Download
- Developer's Guide
- User's Guide
- Contributor's Guide
- Acknowledgment
- Articles
- Releases