You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ezra Epstein <ee...@prajnait.com> on 2004/04/17 04:04:48 UTC

Need a "performValidation" flag on Submit and friends

Nice to see/have client-side form validation in Tapestry.

Borrowing a page from .NET, it would be helpful if the various buttons that
currently trigger form validation had an attribute to turn this off:
something like triggersValidation="false" that way I can build a Cancel
button that looks just like the Submit button -- currently the work-around
is to use a link instead.

== Ezra Epstein


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


RE: Need a "performValidation" flag on Submit and friends

Posted by Ezra Epstein <ee...@prajnait.com>.
How would that affect client-side scripting?  That is where my problem lies.

> -----Original Message-----
> From: Bryan Lewis [mailto:bryan@maine.rr.com]
> Sent: Saturday, April 17, 2004 1:10 AM
> To: Tapestry users
> Subject: Re: Need a "performValidation" flag on Submit and friends
> 
> 
> Or let the Cancel button be a Submit with a listener method. It could
> set a skipValidation flag that could be checked in formSubmit().
> 
> 
> ----- Original Message ----- 
> From: "Ezra Epstein" <ee...@prajnait.com>
> To: "Tapestry users" <ta...@jakarta.apache.org>
> Sent: Friday, April 16, 2004 10:04 PM
> Subject: Need a "performValidation" flag on Submit and friends
> 
> 
> > Nice to see/have client-side form validation in Tapestry.
> >
> > Borrowing a page from .NET, it would be helpful if the various buttons
> that
> > currently trigger form validation had an attribute to turn this off:
> > something like triggersValidation="false" that way I can build a
> Cancel
> > button that looks just like the Submit button -- currently the
> work-around
> > is to use a link instead.
> >
> > == Ezra Epstein
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


RE: Need a "performValidation" flag on Submit and friends

Posted by Ezra Epstein <ee...@prajnait.com>.
uhhh, i don't think that would turn off client-side scripting though, which
is where the problem lies.

> -----Original Message-----
> From: Bryan Lewis [mailto:bryan@maine.rr.com]
> Sent: Saturday, April 17, 2004 1:10 AM
> To: Tapestry users
> Subject: Re: Need a "performValidation" flag on Submit and friends
>
>
> Or let the Cancel button be a Submit with a listener method. It could
> set a skipValidation flag that could be checked in formSubmit().
>
>
> ----- Original Message -----
> From: "Ezra Epstein" <ee...@prajnait.com>
> To: "Tapestry users" <ta...@jakarta.apache.org>
> Sent: Friday, April 16, 2004 10:04 PM
> Subject: Need a "performValidation" flag on Submit and friends
>
>
> > Nice to see/have client-side form validation in Tapestry.
> >
> > Borrowing a page from .NET, it would be helpful if the various buttons
> that
> > currently trigger form validation had an attribute to turn this off:
> > something like triggersValidation="false" that way I can build a
> Cancel
> > button that looks just like the Submit button -- currently the
> work-around
> > is to use a link instead.
> >
> > == Ezra Epstein
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Need a "performValidation" flag on Submit and friends

Posted by Bryan Lewis <br...@maine.rr.com>.
Or let the Cancel button be a Submit with a listener method. It could
set a skipValidation flag that could be checked in formSubmit().


----- Original Message ----- 
From: "Ezra Epstein" <ee...@prajnait.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Friday, April 16, 2004 10:04 PM
Subject: Need a "performValidation" flag on Submit and friends


> Nice to see/have client-side form validation in Tapestry.
>
> Borrowing a page from .NET, it would be helpful if the various buttons
that
> currently trigger form validation had an attribute to turn this off:
> something like triggersValidation="false" that way I can build a
Cancel
> button that looks just like the Submit button -- currently the
work-around
> is to use a link instead.
>
> == Ezra Epstein


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org