Source Viewer : /table/table-decorator.htm
Demonstration of Table Decorator.
<p/>
$table
<p> </p>
#if ($customerDetail)
<b>Customer Details</b>
<table border="0" cellspacing="2" cellpadding="2">
<tr>
<td><b>Name</b></td><td> </td><td>$customerDetail.name</td>
</tr>
<tr>
<td><b>Email</b></td><td> </td>
<td><a style="{text-decoration:none;}" href="mailto:$customerDetail.email">$customerDetail.email</a></td>
</tr>
<tr>
<td><b>Age</b></td><td> </td><td>$customerDetail.age</td>
</tr>
<tr>
<td><b>Investments</b></td><td> </td><td>$customerDetail.investments</td>
</tr>
<tr>
<td><b>Holdings</b></td><td> </td><td>$format.currency($customerDetail.holdings)</td>
</tr>
<tr>
<td><b>Date Joined</b></td><td> </td><td>$format.date($customerDetail.dateJoined, "dd MMM yyyy")</td>
</tr>
</table>
#end