summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages
diff options
context:
space:
mode:
authorwei <>2007-03-30 01:28:43 +0000
committerwei <>2007-03-30 01:28:43 +0000
commit70744a98444df0583d76f19d4e399a5cc49349b7 (patch)
treec6b2d57c47197d8a073da09e09011ec2b11e2cac /tests/FunctionalTests/tickets/protected/pages
parent3fb25eec92c0c72760c4bf8040efd4b86c446bc6 (diff)
add test case for #578
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket578.page11
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket578.php13
2 files changed, 24 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket578.page b/tests/FunctionalTests/tickets/protected/pages/Ticket578.page
new file mode 100644
index 00000000..e933fd33
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket578.page
@@ -0,0 +1,11 @@
+<com:TContent ID="Content">
+<h2 class="defect">ActiveControls broken by presence of THtmlArea in the .page</h2>
+
+ <com:TActiveButton ID="button1" Text="Button 1"
+ OnClick="button2_onclick"/>
+
+ <com:TActiveLabel ID="label1" Text="Label 1" />
+
+ <com:THtmlArea ID="text1" />
+
+</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket578.php b/tests/FunctionalTests/tickets/protected/pages/Ticket578.php
new file mode 100644
index 00000000..7d7dbaac
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket578.php
@@ -0,0 +1,13 @@
+<?php
+Prado::using('System.Web.UI.ActiveControls.*');
+class Ticket578 extends TPage
+{
+
+ function button2_onclick($sender, $param)
+ {
+ $this->label1->Text = "Button 1 was clicked : " . htmlspecialchars($this->text1->Text);
+ }
+
+}
+
+?> \ No newline at end of file