summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected
diff options
context:
space:
mode:
authorxue <>2006-02-26 03:54:55 +0000
committerxue <>2006-02-26 03:54:55 +0000
commitcad2910ee9f2554570d16aab283bd6c18b5c1d0b (patch)
treefa2cb495085489663657445898ed4f921b49f6a4 /tests/FunctionalTests/tickets/protected
parent6e59b5a57df511e2ee92f1f66eb0af072486ae95 (diff)
Fixed #72.
Diffstat (limited to 'tests/FunctionalTests/tickets/protected')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket72.page7
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket72.php13
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket72.page b/tests/FunctionalTests/tickets/protected/pages/Ticket72.page
new file mode 100644
index 00000000..26667406
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket72.page
@@ -0,0 +1,7 @@
+<com:TContent ID="Content">
+<com:TTextBox ID="K1" />
+<com:TTextBox ID="K2" />
+<com:TButton Text="Send" onClick="ButtonClick" />
+
+<com:TLabel ID="ResultLabel" />
+</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket72.php b/tests/FunctionalTests/tickets/protected/pages/Ticket72.php
new file mode 100644
index 00000000..02432886
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket72.php
@@ -0,0 +1,13 @@
+<?php
+
+class Ticket72 extends TPage
+{
+ public function ButtonClick($sender,$param)
+ {
+ $a1 = $this->K1->SafeText;
+ $a2 = $this->K2->SafeText;
+ $this->ResultLabel->Text = $a2;
+ }
+}
+
+?> \ No newline at end of file