Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ConfiForms TableView
formNamef


PlainView output 

ConfiForms PlainView
formNamef
renderAsTable
evaluatetrue
#if(!${headerRendered})
<tr><th>Field 1</th><th>Field 2</th></tr>
#set($headerRendered = true)
#end

<tr><td>[entry.field1.escapeXml]</td><td>[entry.field2]</td></tr>


Here is how the PlainView is configured

...

We selected to render it as a table

Set the macro to to support Velocity templating

Image Added

And placed Velocity template inside it's body. Basically rendering header only once, when "headerRendered" is not set/present

...