ValidateThis API Documentation

ValidateThis.client
Class AbstractClientRuleScripter

WEB-INF.cftags.component
        extended by ValidateThis.client.AbstractClientRuleScripter

public class AbstractClientRuleScripter
extends WEB-INF.cftags.component

I am an abstract scripter responsible for generating JS code for one specific type of validation.


Constructor Summary
init(Any Translator, string defaultFailureMessagePrefix)
          I build a new ClientRuleScripter
 
Method Summary
 any generateValidationScript(any validation, Any formName, Any locale)
          I generate the JS script required to implement a validation
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

Public init(Any Translator, string defaultFailureMessagePrefix)
I build a new ClientRuleScripter

Parameters:
Translator
defaultFailureMessagePrefix
Method Detail

generateValidationScript

public any generateValidationScript(any validation, Any formName, Any locale)
I generate the JS script required to implement a validation.

Parameters:
validation - The validation struct that describes the validation.
formName
locale

ValidateThis API Documentation