You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Hensley, Richard" <Ri...@McKesson.com> on 2005/04/06 00:10:13 UTC

Another form validation question

This is somewhat related to my previous post about revalidating a form
component. I've come to the conclusion that another way to accomplish a
similar thing is to only apply hard validations when I'm in "Save" mode, not
in any of the other submissions of the form. I'm submitting the forms using
a submit listener on the @Form component and selected and tag on my @Submit
components. The problem is that I can't detect when I'm in "save" mode vs
anything else because my @Submit does not set the tag until very late in the
rewind cycle.

I'm getting kind of stuck with form validation. I will poke around in the
form code.

Does anybody have any suggestions about how to get around this?



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