So i found the solution... maybe primitive but works for me

First of all i packed my form in a Zone and add "clientValidation="false"  "
to form

.... 
<t:zone t:id="myZone">
<t:form t:id="loginForm" t:autofocus="true" zone="myZone"
clientValidation="false">
<t:errors />        
<t:label for="userId" class="loginLabel" />
<t:textfield t:value="userId" t:id="userId" t:validate="required"
label="${message:userId-label}: " class="loginField" />
</t:form>
</t:zone>
...

Then, in Java Class, in method 
onValidateFromForm
i validate my form "manually"   (userId!=null and so...)
In case of error, i record errors into Form-Object 

Then, return myZone.getBody()

seems to work.



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-2-6-jJquery-Plugin-2-6-0-Form-validation-tp5596991p5597445.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to