Class AbstractFindListActionSupport.FindListConfig
java.lang.Object
name.matthewgreet.strutscommons.action.AbstractFindListActionSupport.FindListConfig
- Enclosing class:
AbstractFindListActionSupport<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 message to be used ifgetRejectNoMatch()
is true.boolean
Indicates that an empty list means manually entered search parameters must be rejected.void
setRejectMessage
(String value) void
setRejectNoMatch
(boolean value)
-
Constructor Details
-
FindListConfig
public FindListConfig()
-
-
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 name of message to be used ifgetRejectNoMatch()
is true. Defaults to 'No results found'. -
setRejectMessage
-