-
Notifications
You must be signed in to change notification settings - Fork 375
DocxReportingJavaMainListFieldAnywhere
Andrey edited this page Oct 16, 2018
·
5 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 :
[#list developers as developer]
${developer.name}
[/#list]
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 :
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