|
ValidateThis API Documentation | ||||
| FRAMES | |||||
WEB-INF.cftags.component
ValidateThis.client.ClientValidator
public class ClientValidator
I generate client side validations from Business Object validations.
| Constructor Summary | |
|---|---|
init(any childObjectFactory, any translator, any messageHelper, any fileSystem, any transientFactory, string JSRoot, string extraClientScriptWriterComponentPaths, string defaultFailureMessagePrefix, string vtFolder, string defaultLocale)
I build a new ClientValidator |
|
| Method Summary | |
|---|---|
any |
getGeneratedJavaScript(any scriptType, any JSLib, [any formName=''], [Any locale='[runtime expression]'])
I ask the appropriate client script writer to generate some JS for me |
any |
getRuleScripters([any JSLib='[runtime expression]'])
|
any |
getScriptWriter(any JSLib)
|
any |
getScriptWriters()
|
any |
getValidationRulesStruct(any Validations, any formName, any JSLib, [Any locale='[runtime expression]'], [Any theObject=''])
I generate the client side rules structure |
any |
getValidationScript(any Validations, any formName, any JSLib, [Any locale='[runtime expression]'], [Any theObject=''])
I generate the JS script |
private void |
setScriptWriters()
I create script writer objects from a list of component paths |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
Public init(any childObjectFactory, any translator, any messageHelper, any fileSystem, any transientFactory, string JSRoot, string extraClientScriptWriterComponentPaths, string defaultFailureMessagePrefix, string vtFolder, string defaultLocale)
childObjectFactorytranslatormessageHelperfileSystemtransientFactoryJSRootextraClientScriptWriterComponentPathsdefaultFailureMessagePrefixvtFolderdefaultLocale| Method Detail |
|---|
public any getGeneratedJavaScript(any scriptType, any JSLib, [any formName=''], [Any locale='[runtime expression]'])
scriptType - Current valid values are JSInclude, Locale and VTSetup.JSLibformNamelocalepublic any getRuleScripters([any JSLib='[runtime expression]'])
JSLibpublic any getScriptWriter(any JSLib)
JSLibpublic any getScriptWriters()
public any getValidationRulesStruct(any Validations, any formName, any JSLib, [Any locale='[runtime expression]'], [Any theObject=''])
ValidationsformNameJSLiblocaletheObjectpublic any getValidationScript(any Validations, any formName, any JSLib, [Any locale='[runtime expression]'], [Any theObject=''])
ValidationsformNameJSLiblocaletheObjectprivate void setScriptWriters()
|
ValidateThis API Documentation | ||||
| FRAMES | |||||