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. --- HISTORY | 1 + buildscripts/texbuilder/pages.php | 3 +- buildscripts/texbuilder/prado3_quick_start.tex | 2 +- framework/Web/Javascripts/js/validator.js | 2 +- framework/Web/Javascripts/prado/validation3.js | 336 ++++++++++----------- framework/Web/Services/TPageService.php | 1 - framework/Web/UI/TControl.php | 2 +- framework/Web/UI/WebControls/TCheckBoxList.php | 12 +- .../quickstart/Controls/CheckBoxListTestCase.php | 18 +- .../quickstart/Controls/DataGrid2TestCase.php | 8 +- .../quickstart/Controls/DataGrid5TestCase.php | 4 +- .../validators/tests/ListControlTestCase.php | 28 +- 12 files changed, 209 insertions(+), 208 deletions(-) diff --git a/HISTORY b/HISTORY index 45def8ed..40e91f92 100644 --- a/HISTORY +++ b/HISTORY @@ -9,6 +9,7 @@ NEW: SQLMap (Wei) Version 3.0.1 June 1, 2006 ========================== +BUG: Ticket#37 - Changes of config files do not trigger cache update (Qiang) BUG: Ticket#44 - THtmlArea (tiny_mce) not working on some systems (Qiang) BUG: Ticket#167 - TSecurityManager issues warning when trying to encrypt/decrypt strings (Qiang) BUG: Ticket#179 - CGI incompatibility causing clientscripts.php failure (Qiang) diff --git a/buildscripts/texbuilder/pages.php b/buildscripts/texbuilder/pages.php index c55747c6..ec6e0155 100644 --- a/buildscripts/texbuilder/pages.php +++ b/buildscripts/texbuilder/pages.php @@ -76,6 +76,7 @@ $pages['Write New Controls'] = array( 'Controls/NewControl.page'); $pages['Advanced Topics'] = array( + 'Advanced/Collections.page', 'Advanced/Auth.page', 'Advanced/Security.page', 'Advanced/Assets.page', @@ -95,6 +96,6 @@ $pages['Client-side Scripting'] = array( return $pages; -//-------------- END CONFIG ---------------- +//-------------- END CONFIG ---------------- ?> \ No newline at end of file diff --git a/buildscripts/texbuilder/prado3_quick_start.tex b/buildscripts/texbuilder/prado3_quick_start.tex index d55e3462..ee3010fe 100644 --- a/buildscripts/texbuilder/prado3_quick_start.tex +++ b/buildscripts/texbuilder/prado3_quick_start.tex @@ -42,7 +42,7 @@ %----------------- TITLE -------------- -\title{\Huge \bfseries Prado v3.0 Quick Start Tutorial +\title{\Huge \bfseries Prado v3.0.1 Quick Start Tutorial \thanks{Copyright 2005-2006. All Rights Reserved.} } \author{Qiang Xue, Wei Zhuo} 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 @@ * *