| <html t:type="Border" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"> |
| |
| <h1>Zone/Form Update Demo</h1> |
| |
| <h2>Form</h2> |
| |
| <t:form t:id="form"> |
| |
| <t:zone t:id="zone" id="zone"> |
| |
| <p id="initial"> |
| Initial content. |
| </p> |
| |
| </t:zone> |
| |
| <br/> |
| <input type="submit" value="Submit Form"/> |
| |
| </t:form> |
| |
| <p> |
| <t:actionlink t:id="update" zone="zone">Update the form</t:actionlink> |
| </p> |
| |
| <h2>Data</h2> |
| |
| <p> |
| Entered value: |
| <strong id="output">${value}</strong> |
| </p> |
| |
| <t:block id="fields"> |
| |
| <p id="updated">Updated content:</p> |
| |
| <label for="value"/> |
| <t:textfield t:id="value"/> |
| |
| </t:block> |
| |
| </html> |