diff options
author | wei <> | 2006-04-27 13:14:29 +0000 |
---|---|---|
committer | wei <> | 2006-04-27 13:14:29 +0000 |
commit | 9d42606405caa3f0deadd0241ef3b763f45d1a97 (patch) | |
tree | 53ac96ea19782ad9c0ad6b317a2de88e98cf3e5c /tests | |
parent | b101ef9ccea43acdc62d418b565c0aae37baf943 (diff) |
Add effects to validation summary.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/FunctionalTests/features/protected/pages/ValidatorEffects.page | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/ValidatorEffects.page b/tests/FunctionalTests/features/protected/pages/ValidatorEffects.page index 47d99969..22a034cf 100644 --- a/tests/FunctionalTests/features/protected/pages/ValidatorEffects.page +++ b/tests/FunctionalTests/features/protected/pages/ValidatorEffects.page @@ -4,7 +4,7 @@ <fieldset id="quickRegistration">
<legend>Create New Account</legend>
-<com:TClientScript UsingPradoScripts="effects" />
+<com:TClientScript UsingPradoScripts="effects,logger" />
<div class="username">
Username:
@@ -81,8 +81,14 @@ <com:TValidationSummary
ID="summary2"
ValidationGroup="signin"
- AutoUpdate="false"
- HeaderText="<p>You could not login because</p>" />
+ Display="Dynamic"
+ ClientValidation.OnHideSummary="Effect.Squish(summary.messages)"
+ HeaderText="<p>You could not login because</p>">
+ <prop:ClientValidation.OnShowSummary>
+ Effect.Appear(summary.messages)
+ Effect.Shake(summary.messages)
+ </prop:ClientValidation.OnShowSummary>
+ </com:TValidationSummary>
</div>
</fieldset>
|