| <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"> |
| <body> |
| <div class="container"> |
| <t:form clientValidation="none"> |
| <t:errors/> |
| |
| <br/> |
| |
| <t:textfield t:id="loginName" value="userName"/> |
| |
| <br/> |
| |
| <t:textfield t:id="secretPassword" value="password"/> |
| |
| <br/> |
| <t:palette t:id="programmingLanguages" model="literal:Java,C,Ruby,Python,Perl" selected="languages" |
| encoder="stringValueEncoder"/> |
| |
| <br/> |
| <t:select t:id="favoriteColors" model="literal:Red,Green,Blue" value="color"/> |
| |
| <br/> |
| <label t:type="label" for="moreColors"/> |
| <t:checklist t:id="moreColors" model="literal:White,Yellow,Orange,Pink" selected="moreColors" |
| encoder="stringValueEncoder"/> |
| |
| <br/> |
| <t:datefield t:id="birthDay" value="date" format="dd.MM.yyyy"/> |
| |
| <br/> |
| <div class="checkbox"> |
| <label> |
| <t:checkbox t:id="acceptedTermsAndConditions"/> |
| Accept Terms and Conditions |
| </label> |
| </div> |
| |
| <br/> |
| <div class="checkbox"> |
| <label> |
| <t:checkbox t:id="subscribed"/> |
| Subscribed (untick to unsubscribe) |
| </label> |
| </div> |
| |
| <br/> |
| <input type="submit" value="Go"/> |
| |
| </t:form> |
| </div> |
| </body> |
| </html> |