You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by je...@nordija.com on 2004/09/02 16:40:18 UTC

how to disable validators on LinkSubmit?

Hi,

I have a problem with disabling validators when submitting my form. I hope
you can come up with some help.

I have a single Form component on my page. I have attached some validators
to the ValidField´s on the form.
By using the LinkSubmit component I can submit the form and invoke
different methods on my associated Page object.

My prolmen is, that I would like to disable some of the validators when
submitting the form with one LinkSubmit, but keep them enabled when
submitting the Form with another LinkSubmit. I don´t seem to come up with
a solution for this problem.

Do you have any clue, how I could implement this?
Any help is appreciated :-)

/Jacob

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


Re: how to disable validators on LinkSubmit?

Posted by Omar Valerio <om...@gmail.com>.
Jacob,

To get that behavior I would suggest you to do the specific
validations you want in each listener method, instead of delegating
validation to your components. Maybe if you further explain your
problem, here at list someone could come up with a better solution.

Omar V.

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