summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected
diff options
context:
space:
mode:
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