Specifies a validator method called during Process Validations of MethodBinding to perform check the value of the control.
validator="#{expression}"
<xp:this.validator>
<![CDATA[#{javascript:script}]]>
</xp:this.validator>
Where expression is
an expression and script is a script. Use $ instead
of # to compute on page load instead of dynamically.This property must evaluate to a public method that takes FacesContext, UIComponent, and Object parameters, and returns void.