Hi Florin,
florin.g wrote:
Is there a way to do manual table layout in the likes of forms?
$table.startTag()
#foreach($row in $table.rows)
$row.cell.myColumnOne $row.cell.myColumnTwo
#end
$table.endTag()
or something similar?
Velocity does have the capability to invoke methods on Java objects.
So you can do something like this:
<table border="1">
#foreach($row in $table.rowList)
<tr>
#foreach($col in $table.columnList)
<td>
$col.getProperty(${row})
</td>
#end
</tr>
#end
</table>
Is there something in particular you want to achieve which isn't
possible with Table? Or just curious? :)
kind regards
bob