File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
problem using validator framework with DispatchAction
Joined: Mar 14, 2008
Mar 14, 2008 03:01:00
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
Clear a JTextField
How to do it in Struts, pls. help!
How to ByPass the validation framework
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-2015