server side or client-side validation?

If server side, then you just need to create onValidateForm() method in your
page class.

If client side, then you can create regular <input type="button"
onClick="blablabla()"> on .tml file.
On blablabla() method you do the client-side validation and then submit the
form.

FYI, Tapestry already has many client-side validation.

On Thu, Sep 8, 2011 at 9:06 AM, dick_hu <dickan...@gmail.com> wrote:

> tapesty has it's own submit way.
> Now I want do  some validate when I click the submit button
> Is there any easy way to do it.
>
> Can AnyOne help me solve this problem,thanks a lot.
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Form-validate-on-submit-event-tp4780855p4780855.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