summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected
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/active-controls/protected
parent18ea316c553f7ccfc18b73f0c987de007f11b275 (diff)
propage changes to OnError and OnSuccess for validators ClientSide.
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.page4
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php5
2 files changed, 5 insertions, 4 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.page b/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.page
index 5d7f451b..fdd4a604 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.page
+++ b/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.page
@@ -2,8 +2,8 @@
<com:TForm>
<com:TActiveButton ID="button1"
- ClientSide.RequestTimeOut="3000"
- Text="Click Me!" OnCallback="button1_oncallback" />
+ CustomData="0"
+ Text="Click Me!" OnClick="button1_oncallback" />
<com:TActiveLabel ID="label1" />
<com:TActiveRatingList RepeatColumns="2" RepeatDirection="Vertical">
diff --git a/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php b/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php
index abb6c8c8..4a488107 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php
+++ b/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php
@@ -4,8 +4,9 @@ class PageStateTest extends TPage
{
function button1_oncallback($sender, $param)
{
- sleep(rand(0,5));
- $this->label1->Text .= " button1 clicked ";
+ //sleep(rand(0,5));
+ $sender->CustomData = $sender->CustomData + 1;
+ $this->label1->Text = " button1 clicked ".$sender->CustomData." times";
}
}