Predefined Checkers

Below you find an overview describing all of the predefined checkers from the Calyxo Forms component. All of them implement the de.odysseus.calyxo.forms.Checker interface and can be found in the de.odysseus.calyxo.forms.check package.

Name Class Description
notNull NotNullChecker Accepts any input different from null. It has no properties.
length LengthChecker Checks the length of a string to be in the range specified by its properties, which are:
  • min
  • max
el ELChecker Checks that a given EL expression evaluates to true. The expression refers to the value via the variable property (other variables, which are resolved as usual are requestScope, sessionScope, moduleScope, applicationScope, param and moduleContext). Property:
  • expression - EL expression (without surrounding "${" and "}").
interval RangeChecker Checks a numerical value to be in the range specified by its properties, which are:
  • min
  • allowMin - Boolean value determining, whether the lower border is contained in the interval or not. (Default value is true.)
  • max
  • allowMax - Boolean value determining, whether the upper border is contained in the interval or not. (Default value is true.)
less RangeChecker Checks a numerical value to be less than the specified property value:
  • max
most RangeChecker Checks a numerical value to be less than or equal to the specified property value:
  • max
greater RangeChecker Checks a numerical value to be greater than the specified property value:
  • min
least RangeChecker Checks a numerical value to be greater than or equal to the specified property value:
  • min