From 682f7ef6933f4ad485baedddf7a30367d003d7bf Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 25 Jan 2007 05:49:22 +0000 Subject: Fixed #502 --- .../protected/pages/DisplayStyleTest.page | 22 ++++++++++++++++++ .../protected/pages/DisplayStyleTest.php | 26 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 tests/FunctionalTests/active-controls/protected/pages/DisplayStyleTest.page create mode 100644 tests/FunctionalTests/active-controls/protected/pages/DisplayStyleTest.php (limited to 'tests/FunctionalTests/active-controls') diff --git a/tests/FunctionalTests/active-controls/protected/pages/DisplayStyleTest.page b/tests/FunctionalTests/active-controls/protected/pages/DisplayStyleTest.page new file mode 100644 index 00000000..df1db27a --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/DisplayStyleTest.page @@ -0,0 +1,22 @@ + +

Display Style Test

+ +
+Some test + +buttons + +here. +
+ + + + + + + + + + + +
\ No newline at end of file diff --git a/tests/FunctionalTests/active-controls/protected/pages/DisplayStyleTest.php b/tests/FunctionalTests/active-controls/protected/pages/DisplayStyleTest.php new file mode 100644 index 00000000..a49a8bfa --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/DisplayStyleTest.php @@ -0,0 +1,26 @@ +button1->Display="Dynamic"; + } + + function hide_button1() + { + $this->button1->Display="None"; + } + + function show_button2() + { + $this->button2->Display="Fixed"; + } + + function hide_button2() + { + $this->button2->Display="Hidden"; + } +} + +?> \ No newline at end of file -- cgit v1.2.3