blob: 242c7310c930b90d248b4490e4678806a7637fca [file] [log] [blame]
<html t:type="Border" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
<h1>Simple Form</h1>
<p> This is the <em>very early</em> start to Tapestry 5 form support. </p>
<form t:id="form">
<t:errors/>
<t:label for="userName"/>
<input t:type="TextField" t:id="userName" t:validate="required" size="30"/>
<br/>
<t:label for="password"/>
<input t:id="password" t:validate="required" size="30"/>
<br/>
<input type="submit" value="Login"/>
</form>
<hr/>
<p> Entered data: </p>
<ul>
<li>userName: [${userName}]</li>
<li>password: [${password}]</li>
</ul>
</html>