A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
problem using validator framework with DispatchAction
Joined: Mar 14, 2008
Mar 14, 2008 03:01:00
I'm using Struts 1.1 validation framework. There are two buttons
in my form: submit and cancel. They are both html:submit.
validate the entries in the form first, then the form is submit.
I tried html:cancel for the cancel button and found no difference.
button is click?
Joined: Feb 15, 2005
Mar 14, 2008 10:06:00
Just use the html:cancel tag instead of html:submit. This tag will cause validations to be bypassed.
I agree. Here's the link:
subject: problem using validator framework with DispatchAction
How to ByPass the validation framework
Clear a JTextField
How to do it in Struts, pls. help!
How to disable the validation when th Cancel button is clicked (usingStrut validator)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014