rich
Tag validator


The <rich:validator> behavior adds client-side validation to a form input control based on registered server-side validators. It provides this validation without the need to reproduce the server-side annotations.

The <rich:validator> behavior triggers all client validator annotations listed in the relevant managed bean.

@author asmirnov@exadel.com


Tag Information
Handler Id org.richfaces.behavior.ClientValidator
Handler Class org.richfaces.view.facelets.html.ClientValidatorHandler

Attributes
Name Required Type Description
data false java.lang.Object Serialized (on default with JSON) data passed to the client by a developer on an AJAX request. It's accessible via "event.data" syntax. Both primitive types and complex types such as arrays and collections can be serialized and used with data
disabled false boolean If "true", do not initiate client-side validation
immediate false boolean Flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase.
onbeforedomupdate false java.lang.String The client-side script method to be called after the ajax response comes back, but before the DOM is updated
onbeforesubmit false java.lang.String The client-side script method to be called before the AJAX request is submitted
onbegin false java.lang.String The client-side script method to be called before an ajax request.
oncomplete false java.lang.String The client-side script method to be called after the DOM is updated
onerror false java.lang.String The client-side script method to be called when an error has occurred during Ajax communications
oninvalid false java.lang.String No Description
onvalid false java.lang.String No Description
queueId false java.lang.String Identify the name of the destination queue
status false java.lang.String Name of the request status component that will indicate the status of the Ajax request


Output Generated by Tag Library Documentation Generator.