|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionParameterValidator
Actions can implement this to take part in action parameter validation.
This is better than doing additional validation as first step in the action's perform method because it ensures that no properties of the action and nested beans will be set to invalid values.
Method Summary | |
---|---|
boolean |
validate(Session session,
ActionParameter actionParameter)
Is invoked after the parameters are validated and before the parameters are set and the action is performed. |
Method Detail |
---|
boolean validate(Session session, ActionParameter actionParameter)
false
the action will not be performed
session
- Session the attempt happened in.actionParameter
- action parameter set received.
false
if the parameter validation failed and the action should not be performed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |