o

Tag validateBean

Attributes 
NameRequiredTypeDescription
validationGroupsfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A comma-separated list of validation groups. A validation group is a fully-qualified class name.
disabledfalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value enabling page level determination of whether or not this validator is enabled.
valuefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
If specified, then only the given bean will be validated at class level. If unspecified, then only the bean properties bound to the in the current request processed/executed input fields will be validated "as usual".
methodfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Set the class level validation method, which can be either 'validateCopy' or 'validateActual'. If set to 'validateCopy', then it will perform the validation on a copy/clone of the actual bean. This has the advantage that the validation can be performed before the model is updated. If set to 'validateActual', then it will perform the validation on the actual bean instance. This has the disadvantage that the validation can only be performed after the model is updated and thus the action method will always be invoked regardless of the validation outcome. Defaults to 'validateCopy'. This attribute is ignored when the 'value' attribute is unspecified.
copierfalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Set the bean copy strategy to use in case 'value' attribute is specified and the 'method' attribute is set (or defaulted) to 'validateCopy'. This can be either an EL expression referring a concrete instance, or a String representing the fully qualified name of the instance of the org.omnifaces.util.copier.Copier interface, which must be stateless and/or threadsafe. If unspecified, then it defaults to the best possibility in this order: Cloneable, or Serializable, or copy constructor, or default constructor. This attribute is ignored when the 'value' attribute is unspecified, or when the 'method' attribute is not set to 'validateCopy'.
showMessageForfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The identifier for which this validator should show the message. Defaults to "@form" which is the parent UIForm. Other available values are "@all" which will show the message for all invalidated components, "@global" which will show a global message, and "@violating" which will match components by ConstraintViolation Property Path. Any other space separated value will be treated as client ID of UI input component.

Output generated by Vdldoc View Declaration Language Documentation Generator.