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

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -