q
Tag customValidator


The CustomValidator component allows you to write custom code to validate a value. The code is written in JavaScript on the client side and in Java on the server side.


Tag Information
Tag Classteamdev.jsf.taglib.CustomValidatorJspTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredBinding TypeELDefaultDescription
clientFunctionfalsejava.lang.StringtruenullJavaScript code returning a boolean value ("true" for the valid value). The following variables are available: input - the DOM element for which the validator was specified; value - the value of the element to validate.
detailfalsejava.lang.Stringtrue"validation error in input ''{0}''"A detailed description of a validation error. The default value is specified in the QuipuKit Message Bundle.
serverFunctionfalsejava.lang.StringonlynullThe method to validate the value on the server. The following variables are available: context - FacesContext; component - validated component; value - a validated value. The code must return a boolean value ("true" for the valid value).
summaryfalsejava.lang.Stringtrue"Validation Error"A summary description of a validation error. The default value is specified in the QuipuKit Message Bundle.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.