Class AbstractFindListActionSupport.FindListConfig

java.lang.Object
name.matthewgreet.strutscommons.action.AbstractFindListActionSupport.FindListConfig
Enclosing class:
AbstractFindListActionSupport<M extends Serializable,T extends Serializable,F extends AbstractForm>

public static class AbstractFindListActionSupport.FindListConfig extends Object
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 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

      public String getRejectMessage()
      Written by subclasses to return name of message to be used if getRejectNoMatch() is true. Defaults to 'No results found'.
    • setRejectMessage

      public void setRejectMessage(String value)