Controls Documentation

Controls  Complex Types  Show Hierarchies  Show Full Hierarchies 

Complex Type: xp:validateExpression

f:com.ibm.xsp.BaseComplexType
   f:validatorInterface
      xp:validateExpression

Description

Validates a value based on a specified expression

Properties

Java

Java Class: com.ibm.xsp.validator.ExpressionValidator


loaded, boolean  [Inherited]
Loaded
Specifies whether or not the tag instance should be created when the page is loading. Value defaults to 'true'.
Required Attribute false
Localizable false
Allow Runtime Binding false
Allow Load Time Binding true
Allow Non Binding true
message, string
Error Message
Specifies the message that will be displayed when validation fails. The message is displayed when the page is submitted.
Required Attribute false
Localizable true
Allow Runtime Binding true
Allow Load Time Binding true
Allow Non Binding true
expression, boolean
Expression
Expression used for validating the value
Required Attribute true
Localizable false
Allow Runtime Binding true
Allow Load Time Binding true
Allow Non Binding false
clientScript, string
Client Side Script
The client side script to use. This should create an object with a validate() method
Required Attribute false
Localizable false
Allow Runtime Binding true
Allow Load Time Binding true
Allow Non Binding true