HTML template.

Component Java
Tapestry: Java Web Components
Howard Ship
Listing 1. HTML template.


<table>
  <tr>
    <th>Pet Name</th> <th>Breed</th> <th>Sex</th> <th>Age</th>
  </tr>
<jwc id=”loop”>
  <tr>
     <td><jwc id=”showPet”><jwc id=”insertPetName”/></jwc></td>
    <td><jwc id=”insertBreed”/></td>
    <td><jwc id=”insertSex”/></td>
    <td><jwc id=”insertAge”/></td>
  </tr>
</jwc>
</table>