From 769856093ded9e4aae341a7d79b7f1441e7d5478 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 1 Sep 2006 01:07:51 +0000 Subject: Add TActiveCustomValidator --- .../pages/CallbackCustomValidatorTest.page | 38 ++++++++++++++++++++++ .../pages/CallbackCustomValidatorTest.php | 11 +++++++ .../protected/pages/TInPlaceTextBoxTest.page | 2 +- 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.page create mode 100644 tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.php (limited to 'tests/FunctionalTests/active-controls') diff --git a/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.page b/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.page new file mode 100644 index 00000000..375ede75 --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.page @@ -0,0 +1,38 @@ + + +

Callback Custom Validator Test

+ + + + + + + + + + + + + +
\ No newline at end of file diff --git a/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.php b/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.php new file mode 100644 index 00000000..bf8d730b --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.php @@ -0,0 +1,11 @@ +IsValid = $param->Value == 'Prado'; + } +} + +?> \ No newline at end of file diff --git a/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page index b6b2d040..7010ca0f 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page +++ b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page @@ -53,7 +53,7 @@ ControlCssClass="required" ErrorMessage="*" /> - + Edit -- cgit v1.2.3