java - How to get a value from a list in apache velocity file? -


how value uirowformatlist in vm file?
using below code this.

#set($i = $velocitycount-1)     #set($rowformatcomponents = $uirowformatlist.get($i)) 

i getting exception when run this:

"fo:table-body" missing child elements. required content model: marker* (table-row+|table-cell+) 

when hardcoding value of 0 in method this, displaying proper values:

#set($rowformatcomponents = $uirowformatlist.get(0) 


Comments

Popular posts from this blog

command line - Use qwinsta in PowerShell ISE -

java - Incorrect order of records in M-M relationship in hibernate -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -