blob: a31be187aff82d924c1ff3097becd7d8a5bec3f4 [file] [log] [blame]
<html xmlns:wicket>
<head>
<title>Wicket Examples - displaytag</title>
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" href="displaytag/css/displaytag.css" type="text/css" media="screen, print" />
</head>
<body>
<span wicket:id="mainNavigation" />
<h2><wicket:link>
<a href="DisplaytagIndex.html">Example</a>
</wicket:link> &gt; Basic, columns</h2>
<br />
Simple ListView with multiple colulmns:
<table>
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Email</th>
<th>Status</th>
<th>Comments</th>
</tr>
</thead>
<tbody>
<tr wicket:id="rows" id="rows" class="even">
<td><span wicket:id="id">Test ID</span></td>
<td><span wicket:id="name">Test Name</span></td>
<td><span wicket:id="email">Test EMail</span></td>
<td><span wicket:id="status">Test Status</span></td>
<td><span wicket:id="comments">Test Comments</span></td>
</tr>
<wicket:remove>
<tr class="odd">
<td>Test ID</td>
<td>Test Name</td>
<td>Test Email</td>
<td>Test Status</td>
<td>Test Comments</td>
</tr>
</wicket:remove>
</tbody>
</table>
<br />
Same data but the table is now auto-generated:
<span wicket:id="autogeneratedTable" /> <br />
<!-- span wicket:id="componentTree"/ -->
</body>
</html>