summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket526.php
diff options
context:
space:
mode:
authorwei <>2007-03-30 11:15:23 +0000
committerwei <>2007-03-30 11:15:23 +0000
commitd223df797d277acc61b47e9303a0c2537c72d9e7 (patch)
treeb9f8fb6cb3ec6135f3a111356794cf9118bd5217 /tests/FunctionalTests/tickets/protected/pages/Ticket526.php
parent9db5f1ef950e571d19cc70f1b22da1d77f22448b (diff)
Fixed #526
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket526.php')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket526.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket526.php b/tests/FunctionalTests/tickets/protected/pages/Ticket526.php
new file mode 100644
index 00000000..9afaf28f
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket526.php
@@ -0,0 +1,15 @@
+<?php
+
+Prado::using('System.Web.UI.ActiveControls.*');
+class Ticket526 extends TPage
+{
+ public function callback($s, $p)
+ {
+ $this->dp->Mode="Button";
+ $this->textbox->Text = 'callback';
+ $this->activePanel->Enabled="false";
+ $this->activePanel->render($p->NewWriter);
+ }
+}
+
+?> \ No newline at end of file