net.sourceforge.stripes.action
Annotation Type DontValidate


@Retention(value=RUNTIME)
@Target(value=METHOD)
@Documented
public @interface DontValidate

Specify that the event handled by the annotated method should not have validation run on it before the handler is invoked. Note that even if there are no normal validation errors for a request, there may still be errors during type conversion and binding. Such errors are also ignored by default. That behavior can be modified using the ignoreBindingErrors() element of this annotation.

Author:
Tim Fennell

Optional Element Summary
 boolean ignoreBindingErrors
          If true (the default) then any validation errors that might occur during type conversion and binding will be ignored.
 

ignoreBindingErrors

public abstract boolean ignoreBindingErrors
If true (the default) then any validation errors that might occur during type conversion and binding will be ignored. If false then Stripes will forward back to the source page as it normally would when it encounters validation errors. In either case, any errors that occur during binding will be present in the ActionBeanContext.

See Also:
ActionBeanContext.getValidationErrors()
Default:
true


? Copyright 2005-2006, Stripes Development Team.