|
ValidateThis API Documentation | ||||
| FRAMES | |||||
WEB-INF.cftags.component
ValidateThis.client.jQuery.AbstractClientRuleScripter
ValidateThis.client.jQuery.ClientRuleScripter_PastDate
public class ClientRuleScripter_PastDate
I am responsible for generating JS code for the past date validation.
| Method Summary | |
|---|---|
any |
generateInitScript([string defaultMessage='The date entered must be in the past.'])
I generate the validation 'method' function for the client during fw initialization |
private string |
getGeneratedFailureMessage([any validation], string locale, any parameters)
I return the generated failure message from the resource bundle for this CRS |
any |
getParameterDef(any validation)
I override the parameter def because the VT param names do not match those expected by the jQuery plugin |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Method Detail |
|---|
public any generateInitScript([string defaultMessage='The date entered must be in the past.'])
defaultMessageprivate string getGeneratedFailureMessage([any validation], string locale, any parameters)
getGeneratedFailureMessage
in class
AbstractClientRuleScripter
validationlocale - The locale to use to generate the default failure message.parameters - The parameters stored in the validation object.public any getParameterDef(any validation)
getParameterDef
in class
AbstractClientRuleScripter
validation - The validation object that describes the validation.
|
ValidateThis API Documentation | ||||
| FRAMES | |||||