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

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

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