Class Index | File Index

Classes


Class Exanpe.AjaxValidation

Represents an AjaxValidation.
Defined in: exanpe-t5-lib.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Exanpe.AjaxValidation(id, url, message)
Constructor
Field Summary
Field Attributes Field Name and Description
<static> <constant>  
Exanpe.AjaxValidation.PARAM_NAME
Constant for param name sent
Method Summary
Method Attributes Method Name and Description
 
Called when unable to process the ajax validation.
 
Called before triggering an ajax validation Does nothing by default except returing true, override to define your own behavior.
 
Called after a successful validation Does nothing by default, override to define your own action.
 
Called after an unsuccessful validation Does nothing by default, override to define your own action.
 
Validate the textfield content.
Class Detail
Exanpe.AjaxValidation(id, url, message)
Constructor
Parameters:
{String} id
the id of the textfield to bind on
{String} url
the url to submit the selected value
{String} message
the message to display on error
Field Detail
<static> <constant> Exanpe.AjaxValidation.PARAM_NAME
Constant for param name sent
Method Detail
afterValidationError()
Called when unable to process the ajax validation. Does nothing by default, override to define your own action.

{boolean} beforeValidation()
Called before triggering an ajax validation Does nothing by default except returing true, override to define your own behavior.
Returns:
{boolean} false to cancel validation

onValidationCorrect()
Called after a successful validation Does nothing by default, override to define your own action.

onValidationIncorrect()
Called after an unsuccessful validation Does nothing by default, override to define your own action.

validate()
Validate the textfield content.

Documentation generated by JsDoc Toolkit 2.0.0 on Mon Jan 09 2012 21:35:39 GMT+0100 (CET)