summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected
diff options
context:
space:
mode:
authorxue <>2006-09-04 19:15:47 +0000
committerxue <>2006-09-04 19:15:47 +0000
commit56fee292c37e162c03fab9eeadd6a8b9ab85c251 (patch)
tree923510b93c707868098ae4e5f404eb3766a59553 /tests/FunctionalTests/tickets/protected
parentb107cad91733d4a2a80f42cdbaab41a4f7b41c9d (diff)
merge from 3.0 branch till 1387
Diffstat (limited to 'tests/FunctionalTests/tickets/protected')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket273.page13
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket273.php11
2 files changed, 24 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket273.page b/tests/FunctionalTests/tickets/protected/pages/Ticket273.page
new file mode 100644
index 00000000..02c1a48f
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket273.page
@@ -0,0 +1,13 @@
+<com:TContent ID="Content">
+ <com:TPanel ID="panel1" DefaultButton="button1">
+ Panel 1:
+ <com:TTextBox ID="textbox1" />
+ <com:TButton ID="button1" Text="Button 1" OnClick="button_clicked" />
+ </com:TPanel>
+ <com:TPanel ID="panel2" DefaultButton="button2">
+ Panel 2:
+ <com:TTextBox ID="textbox2" />
+ <com:TButton ID="button2" Text="Button 2" OnClick="button_clicked" />
+ </com:TPanel>
+ <com:TLabel ID="label1" Text="Label 1" />
+</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket273.php b/tests/FunctionalTests/tickets/protected/pages/Ticket273.php
new file mode 100644
index 00000000..8dca86c9
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket273.php
@@ -0,0 +1,11 @@
+<?php
+
+class Ticket273 extends TPage
+{
+ function button_clicked($sender, $param)
+ {
+ $this->label1->Text = $sender->Text . ' Clicked!';
+ }
+}
+
+?> \ No newline at end of file