| <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> |
| <head> |
| <title>Start Page</title> |
| </head> |
| <body> |
| <p> |
| This test of the upload component |
| </p> |
| |
| <t:if test="message"> |
| <p> |
| <strong>${message}</strong> |
| </p> |
| </t:if> |
| |
| <t:form> |
| <t:errors/> |
| <t:label for="name"/> |
| <t:textfield t:id="name"/> |
| <br/> |
| <t:label for="file"/> |
| <input t:type="upload" t:id="file" validate="required"/> |
| <br/> |
| <input type="submit" value="Upload"/> |
| </t:form> |
| <t:if test="file"> |
| <t:beandisplay object="file"/> |
| </t:if> |
| </body> |
| </html> |