From c84f3e19b54cf54f525f4b2d158696ae32d1bf60 Mon Sep 17 00:00:00 2001
From: wei <>
Date: Tue, 25 Apr 2006 01:00:08 +0000
Subject: Add TListControlValidator. Update client-side validators,
datepicker.js, colorpicker.js.
---
.../protected/pages/DataTypeValidator.page | 33 +++++++++++
.../validators/protected/pages/DatePicker.page | 64 ++++++++++++++++++++++
.../validators/protected/pages/Layout.tpl | 5 ++
.../validators/protected/pages/ListControl.page | 58 ++++++++++++++++++++
.../protected/pages/RequiredListValidator.page | 13 +++--
5 files changed, 167 insertions(+), 6 deletions(-)
create mode 100644 tests/FunctionalTests/validators/protected/pages/DataTypeValidator.page
create mode 100644 tests/FunctionalTests/validators/protected/pages/DatePicker.page
create mode 100644 tests/FunctionalTests/validators/protected/pages/ListControl.page
(limited to 'tests/FunctionalTests/validators/protected')
diff --git a/tests/FunctionalTests/validators/protected/pages/DataTypeValidator.page b/tests/FunctionalTests/validators/protected/pages/DataTypeValidator.page
new file mode 100644
index 00000000..48821f83
--- /dev/null
+++ b/tests/FunctionalTests/validators/protected/pages/DataTypeValidator.page
@@ -0,0 +1,33 @@
+
+ Data Type Validator Tests
+ Integer test.
+
+
+
+
+
+ Float test.
+
+
+
+
+
+ Date Test
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/FunctionalTests/validators/protected/pages/DatePicker.page b/tests/FunctionalTests/validators/protected/pages/DatePicker.page
new file mode 100644
index 00000000..fdbbbeb1
--- /dev/null
+++ b/tests/FunctionalTests/validators/protected/pages/DatePicker.page
@@ -0,0 +1,64 @@
+
+ Date Picker validation Test
+
+
+
+
+
+
+
+
+
+
+ Date 1:
+
+
+
+ Date 2:
+
+
+
+
+
+ Date 3:
+
+
+ Date 4:
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/FunctionalTests/validators/protected/pages/Layout.tpl b/tests/FunctionalTests/validators/protected/pages/Layout.tpl
index 224481e1..25dbea09 100644
--- a/tests/FunctionalTests/validators/protected/pages/Layout.tpl
+++ b/tests/FunctionalTests/validators/protected/pages/Layout.tpl
@@ -21,6 +21,11 @@
margin-top: 2em;
display: block;
}
+ .required
+ {
+ border: 1px solid red;
+ background-color: pink;
+ }
/*]]>*/
diff --git a/tests/FunctionalTests/validators/protected/pages/ListControl.page b/tests/FunctionalTests/validators/protected/pages/ListControl.page
new file mode 100644
index 00000000..1429e184
--- /dev/null
+++ b/tests/FunctionalTests/validators/protected/pages/ListControl.page
@@ -0,0 +1,58 @@
+
+ List Control Required Field Validation Test
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/FunctionalTests/validators/protected/pages/RequiredListValidator.page b/tests/FunctionalTests/validators/protected/pages/RequiredListValidator.page
index 9bbd9d5a..665d71b7 100644
--- a/tests/FunctionalTests/validators/protected/pages/RequiredListValidator.page
+++ b/tests/FunctionalTests/validators/protected/pages/RequiredListValidator.page
@@ -8,7 +8,7 @@
-
-
+
-
-
+
-
-
+