Class AbstractFindIdListActionSupport.FindIdListConfig

java.lang.Object
name.matthewgreet.strutscommons.action.AbstractFindIdListActionSupport.FindIdListConfig
Enclosing class:
AbstractFindIdListActionSupport<M extends Serializable,K extends Serializable,F extends AbstractForm>

public static class AbstractFindIdListActionSupport.FindIdListConfig 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

    • FindIdListConfig

      public FindIdListConfig()
  • 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 message to be used if getRejectNoMatch() is true. Defaults to 'No results found'
    • setRejectMessage

      public void setRejectMessage(String value)
    • getErrorForwardName

      public String getErrorForwardName()
      Written by subclasses to return name of Struts forward (usually global forward) to be used for unhandleable errors. Defaults to 'error'.
    • setErrorForwardName

      public void setErrorForwardName(String value)