summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features
diff options
context:
space:
mode:
authorwei <>2006-12-04 00:17:43 +0000
committerwei <>2006-12-04 00:17:43 +0000
commit91fe694c8755aa2d05743946a3681be7232420b6 (patch)
tree14d822b190fd729d141dbaa99cd26ed98e1b7940 /tests/FunctionalTests/features
parent18ea316c553f7ccfc18b73f0c987de007f11b275 (diff)
propage changes to OnError and OnSuccess for validators ClientSide.
Diffstat (limited to 'tests/FunctionalTests/features')
-rw-r--r--tests/FunctionalTests/features/protected/pages/ValidatorEffects.page12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/ValidatorEffects.page b/tests/FunctionalTests/features/protected/pages/ValidatorEffects.page
index e01b542e..78c66365 100644
--- a/tests/FunctionalTests/features/protected/pages/ValidatorEffects.page
+++ b/tests/FunctionalTests/features/protected/pages/ValidatorEffects.page
@@ -16,13 +16,13 @@
ControlCssClass="required"
Display="Dynamic"
ErrorMessage="a username is required.">
- <prop:ClientSide.OnError>
+ <prop:ClientSide.OnValidationError>
Effect.Shake(sender.control);
Effect.Appear(sender.message);
- </prop:ClientSide.OnError>
- <prop:ClientSide.OnSuccess>
+ </prop:ClientSide.OnValidationError>
+ <prop:ClientSide.OnValidationSuccess>
Effect.Fade(sender.message);
- </prop:ClientSide.OnSuccess>
+ </prop:ClientSide.OnValidationSuccess>
</com:TRequiredFieldValidator>
</div>
<div class="password">
@@ -37,8 +37,8 @@
ValidationGroup="registration"
ControlCssClass="required"
Display="Dynamic"
- ClientSide.OnError="sender.message.visualEffect('appear')"
- ClientSide.OnSuccess="sender.message.visualEffect('fade')"
+ ClientSide.OnValidationError="sender.message.visualEffect('appear')"
+ ClientSide.OnValidationSuccess="sender.message.visualEffect('fade')"
ErrorMessage="a password is required." />
</div>
<div class="create">