summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests
diff options
context:
space:
mode:
authorwei <>2006-09-02 00:31:09 +0000
committerwei <>2006-09-02 00:31:09 +0000
commitb107cad91733d4a2a80f42cdbaab41a4f7b41c9d (patch)
treeb625b12c5b04aadd02ab1d7e71d532181b156428 /tests/FunctionalTests
parent452fdf99810fae93d3e8735cc9be5e9cbd4b0622 (diff)
Fixed #355
Diffstat (limited to 'tests/FunctionalTests')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.page5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.page b/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.page
index 375ede75..2af4b3c8 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.page
+++ b/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.page
@@ -24,11 +24,16 @@
ErrorMessage="*"
ControlCssClass="required"
OnServerValidate="validate_text1">
+ <prop:ClientSide
+ OnError="$('status').innerHTML='Error '+(new Date())"
+ OnSuccess="$('status').innerHTML='Success '+(new Date())" />
<prop:ActiveControl.ClientSide
OnLoading="Element.show('loader')"
OnComplete="Element.hide('loader')" />
</com:TActiveCustomValidator>
+ <span id="status"></span>
+
<com:TButton Text="Submit" />
<span id="loader" style="display:none;" onfocus="alert('ok')" class="loader">Loading...</span>