summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php
diff options
context:
space:
mode:
authorwei <>2006-08-27 04:18:31 +0000
committerwei <>2006-08-27 04:18:31 +0000
commit887da1b3668499821f046665b461aeadb0a9fb2e (patch)
tree776f742ea179c823c90e7b81d2262a4344610eca /tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php
parent1180e6486139a9c9662984367c4f624394e06f35 (diff)
Adding TActiveImage and TActiveImageButton
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php
index 6282b804..42322ea1 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php
+++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php
@@ -2,11 +2,16 @@
class ActiveButtonTest extends TPage
{
+ function onLoad($param)
+ {
+ new TActiveButton;
+ }
+
function button2_onclick($sender, $param)
{
$this->label1->Text = "Button 1 was clicked ";
}
-
+
function button2_oncallback($sender, $param)
{
$this->label1->Text .= "using callback!";