| <t:border xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd"> |
| |
| <h1>Multi-Zone Update Demo</h1> |
| |
| |
| <span id="now">${now}</span> |
| |
| <span id="message"/> |
| |
| <table class="table table-striped table-bordered"> |
| <thead> |
| |
| <tr> |
| <th>Fred</th> |
| <th>Barney</th> |
| <th>Dino</th> |
| <th>Wilma</th> |
| </tr> |
| </thead> |
| <tbody> |
| |
| <tr> |
| <td t:type="zone" t:id="fredZone" id="fred"> |
| Placeholder |
| </td> |
| <td t:type="zone" t:id="barneyZone" id="barney"> |
| Placeholder |
| </td> |
| <td t:type="zone" t:id="dinoZone" id="dino"> |
| Placeholder |
| </td> |
| <td t:type="zone" t:id="wilmaZone" id="wilma"> |
| ${wilmaMessage} |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| |
| <t:actionlink t:id="update" zone="fred">update</t:actionlink> |
| |
| <t:block id="fredBlock"> |
| <span id="fredName">Fred Flintstone</span> |
| </t:block> |
| |
| <t:block id="barneyBlock"> |
| <t:form> |
| <t:palette t:id="options" model="options" encoder="encoder"/> |
| <input type="submit"/> |
| |
| </t:form> |
| </t:block> |
| |
| </t:border> |