Class AbstractFindIndexListActionSupport.FindIndexListConfig
java.lang.Object
name.matthewgreet.strutscommons.action.AbstractFindIndexListActionSupport.FindIndexListConfig
- Enclosing class:
AbstractFindIndexListActionSupport<M extends Serializable,
T extends Serializable, F extends AbstractForm>
Configures list to be loaded by Struts, finder action and whether empty
lists means search parameters must be rejected. Configuration is fixed
and does not change during the action's lifetime.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWritten by subclasses to return name of Struts forward (usually global forward) to be used for unhandleable errors.Written by subclasses to return message to be used ifgetRejectNoMatch()
is true.boolean
Indicates that an empty list means manually entered search parameters must be rejected.void
setErrorForwardName
(String value) void
setRejectMessage
(String value) void
setRejectNoMatch
(boolean value)
-
Constructor Details
-
FindIndexListConfig
public FindIndexListConfig()
-
-
Method Details
-
getRejectNoMatch
public boolean getRejectNoMatch()Indicates that an empty list means manually entered search parameters must be rejected. -
setRejectNoMatch
public void setRejectNoMatch(boolean value) -
getRejectMessage
Written by subclasses to return message to be used ifgetRejectNoMatch()
is true. Defaults to 'No results found' -
setRejectMessage
-
getErrorForwardName
Written by subclasses to return name of Struts forward (usually global forward) to be used for unhandleable errors. Defaults to 'error'. -
setErrorForwardName
-