From 4aa1f46fcb508271b09cb5736d8bd0ef7206941d Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 27 Apr 2006 08:39:55 +0000 Subject: Added client-side events to client-side validators. see tests/FunctionalTests/features/index.php?page=ValidatorEffects --- .../features/protected/controls/Layout.tpl | 5 ++ .../features/protected/pages/ValidatorEffects.page | 91 ++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 tests/FunctionalTests/features/protected/pages/ValidatorEffects.page (limited to 'tests') diff --git a/tests/FunctionalTests/features/protected/controls/Layout.tpl b/tests/FunctionalTests/features/protected/controls/Layout.tpl index 18482377..66b42f6c 100644 --- a/tests/FunctionalTests/features/protected/controls/Layout.tpl +++ b/tests/FunctionalTests/features/protected/controls/Layout.tpl @@ -16,6 +16,11 @@ margin-top: 2em; display: block; } + .required + { + border:1px solid red; + background-color: #fdd; + } /*]]>*/ diff --git a/tests/FunctionalTests/features/protected/pages/ValidatorEffects.page b/tests/FunctionalTests/features/protected/pages/ValidatorEffects.page new file mode 100644 index 00000000..47d99969 --- /dev/null +++ b/tests/FunctionalTests/features/protected/pages/ValidatorEffects.page @@ -0,0 +1,91 @@ + + +

Validator Visual Effects Test

+
+ Create New Account + + + +
+ Username: + + + + Effect.Shake(validator.control); + Effect.Appear(validator.message); + + + Effect.Fade(validator.message); + + +
+
+ Password + + + +
+
+ +
+ +
+ + +
+ Sign In + +
+ Login Name: + + + +
+ +
+ Password: + + +
+ + + + +
+ +
+ +
+ + +
\ No newline at end of file -- cgit v1.2.3