Package name.matthewgreet.strutscommons.interceptor
package name.matthewgreet.strutscommons.interceptor
-
ClassDescriptionStruts 2 Interceptor for parsing annotated form fields from strings to another data type and writes error messages where data type conversion fails.Describes a form field annotation, its type, and an instance of a policy it configures, if applicable.Describes the result of a attempting to convert from a string to the generic type, and the field to receive it, successful or not.If the action implements BrowserTabAware, sets tab id from cookies.If the action implements BrowserTabAware, sets tab id from cookies.Overrides ExceptionMappingInterceptor to always enable logging at ERROR level using the Action's class as the logging category.Struts 2 Interceptor for formatting annotated form fields from their parsed values.Retrieves a form stored in the session by
FormStoreInterceptor
and injects it into the action's member variable configured by theForm
annotation to accept it.If the action implementsFormDriven
, stores the form in the session so it may be retrieved by a later action that displays it.If the action implements ValidationAware, amalgametes all action errors and messages from other validation aware actions in the Value Stack.If the Struts action implementsValidationAware
, removes errors and messages stored in the session byMessageStoreInterceptor
and injects it into the action.If the action implementsValidationAware
, stores the errors and messages in the session so it may be retrieved by a later action that displays it.Detects an exception not handled by the form driven action, logs it, changes the result to 'input' or 'error' as needed and, if it implements ValidationAware, writes an action error for the user.