初学tapestry4请高手指点
Home.html<html>
<body jwcid = "@Body">
<table width="33%" border="1">
<form jwcid="loginForm" >
<tr>
<td width="32%" align="center">
登陆
</td>
<td width="68%" align="center" valign="middle">
</td>
</tr>
<tr>
<td width="32%" align="left">
用户名:
</td>
<td width="68%" align="left">
<input type="text" jwcid="username" />
</td>
</tr>
<tr>
<td align="left">
密码:
</td>
<td align="left">
<input type="password" jwcid="password" />
</td>
</tr>
<tr>
<td align="left">
</td>
<td align="center">
<input type="Submit" value="登陆" />
</td>
</tr>
</form>
</table>
</body>
</html>
Home.page
<?xml version="1.0" encoding="GBK"?>
<!DOCTYPE page-specification PUBLIC
"-//Apache Software Foundation//Tapestry Specification 4.0//EN"
"http://jakarta. >
<page-specification >
<property name="username" />
<property name="password" />
<component id="loginForm" type="Form">
<binding name="listener" value="listener:loginSubmit" />
<binding name="clientValidationEnabled" value="true"/>
</component>
<component id="username" type="TextField">
<binding name="value" value="username"/>
<binding name="validators" value="validators:required"/>
<binding name="displayName" value="literal:用户名"/>
</component>
<component id="password" type="TextField">
<binding name="value" value="password"/>
<binding name="hidden" value="true"/>
<binding name="validators" value="validators:required,minLength=6"/>
<binding name="displayName" value="literal:密码"/>
</component>
</page-specification>
为啥我的验证不管用呢?