o:validateOrder
validates if the values of the given UIInput
components are in the order from least to greatest without duplicates, exactly as specified in the
components
attribute. The default message is
{0}: Please fill out the values of all those fields in order
For general usage instructions, refer validateAllOrNone
tag documentation.
This validator has the additional requirement that the to-be-validated values must implement
Comparable
. This validator throws an IllegalArgumentException
when one or
more of the values do not implement it.
Info | Value |
---|---|
Component Type | org.omnifaces.component.validator.ValidateOrder |
Handler Class | None |
Renderer Type | None |
Description | None |
Name | Required | Type | Description |
---|---|---|---|
id | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
rendered | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true. |
binding | false | javax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent )
|
The ValueExpression linking this component to a property in a backing bean.
|
components | true | javax.el.ValueExpression
(must evaluate to java.lang.String )
| The space separated collection of client IDs of UI input components to be validated. |
message | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| The validator message to be shown on failure. Any "{0}" placeholder in the message will be substituted with a comma separated string of labels of the referenced input components. |
showMessageFor | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| The identifier for which this validator should show the message. Defaults to "@this" which is the validator component itself. Other available value is "@all" which will show the message for all of the referenced components. |
disabled | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
|
Whether the validation should be disabled or not. Defaults to false .
|
Output generated by Vdldoc View Declaration Language Documentation Generator.