From 414451b4e1062433734f0927daff003235148ef1 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 21 May 2006 22:53:49 +0000 Subject: Merge from 3.0 branch till 1089. --- framework/Web/Javascripts/js/validator.js | 2 +- framework/Web/Javascripts/prado/validation3.js | 336 ++++++++++++------------- 2 files changed, 169 insertions(+), 169 deletions(-) (limited to 'framework/Web/Javascripts') diff --git a/framework/Web/Javascripts/js/validator.js b/framework/Web/Javascripts/js/validator.js index 41b40fcd..43624d38 100644 --- a/framework/Web/Javascripts/js/validator.js +++ b/framework/Web/Javascripts/js/validator.js @@ -139,7 +139,7 @@ return this.trim($F(control));}},observeDatePickerChanges:function() {checked++;values.push(element.value);}});return{'checks':checked,'values':values};},getListElements:function() {switch(this.options.ControlType) {case'TCheckBoxList':case'TRadioButtonList':var elements=[];for(var i=0;iPrado.Validation class co-ordinates together the + * The Prado.Validation class co-ordinates together the * validation scheme and is responsible for maintaining references - * to ValidationManagers. - * + * to ValidationManagers. + * * The ValidationManager class is responsible for maintaining refereneces * to individual validators, validation summaries and their associated * groupings. - * + * * The ValidationSummary take cares of display the validator error messages - * as html output or an alert output. - * + * as html output or an alert output. + * * The TBaseValidator is the base class for all validators and contains * methods to interact with the actual inputs, data type conversion. - * + * * An instance of ValidationManager must be instantiated first for a * particular form before instantiating validators and summaries. - * - * Usage example: adding a required field to a text box input with + * + * Usage example: adding a required field to a text box input with * ID "input1" in a form with ID "form1". * * @@ -33,16 +33,16 @@ * *