I have a form which has a save (html:submit ...) and continue
(html:cancel ...) button.
The save should validate and process the data in the form.
The continue button should go to the next page, skipping any
validation and processing.
I have been using the validator plugin, with all of my
Extend your action class from
ValidatorLookupdispatchAction class by Brandon
Goodin.
___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
Instead of commenting out your validate() method
You can do something like this
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request){
ActionErrors errors = super.validate(mapping, request);
// If we see the cancel key in the request, since your continue button
is a
3 matches
Mail list logo