<html t:type="Border" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> | |
<h1>Error Demo</h1> | |
<t:form clientvalidation="false"> | |
<t:error for="username"/> | |
<input t:type="TextField" t:id="username" validate="required"/> | |
<t:label for="username"/> | |
<br/> | |
<t:error for="password"/> | |
<input t:type="PasswordField" t:id="password" validate="required"/> | |
<t:label for="password"/> | |
<br/> | |
<input type="submit"/> | |
</t:form> | |
</html> |