blob: 2841de89dcec6a7ae6e9ee01546a6023c6f1d166 [file] [log] [blame]
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
<head>
<title>HTML 5 Support Demo</title>
</head>
<body>
<h1>HTML 5 Support Demo</h1>
<form t:type="Form">
<input t:type="TextField" t:id="integer" t:mixins="FormGroup"/>
<input t:type="TextField" t:id="required" t:validate="required" t:mixins="FormGroup"/>
<input t:type="TextField" t:id="email" t:validate="email" t:mixins="FormGroup"/>
<input t:type="TextField" t:id="minNumber" t:validate="min=1" t:mixins="FormGroup"/>
<input t:type="TextField" t:id="maxNumber" t:validate="max=10" t:mixins="FormGroup"/>
<input t:type="TextField" t:id="minMaxNumber" t:validate="min=2,max=4" t:mixins="FormGroup"/>
<input t:type="TextField" t:id="regexp" t:validate="regexp=[0-9]{2}" t:mixins="FormGroup"/>
<input t:type="CheckBox" t:id="bool" t:mixins="FormGroup"/>
<input t:type="CheckBox" t:id="mustBeCheckedBoolean" t:validate="checked" t:mixins="FormGroup"/>
<input t:type="CheckBox" t:id="requiredBoolean" t:validate="required" t:mixins="FormGroup"/>
<input type="submit"/>
</form>
</body>
</html>