summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormikl <>2008-04-13 20:23:22 +0000
committermikl <>2008-04-13 20:23:22 +0000
commit2193665473e8ddbda735c263a4455a1b76b0b317 (patch)
tree37cfc76a94b2ce1144f2f7de89ba36e3e3cf39fe /tests
parentcb09f6ad38d3578996c48df08bdd0b187ed32cea (diff)
Added test page for #695
Diffstat (limited to 'tests')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket695.page7
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket695.php8
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket695.page b/tests/FunctionalTests/tickets/protected/pages/Ticket695.page
new file mode 100644
index 00000000..884be053
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket695.page
@@ -0,0 +1,7 @@
+<com:TContent ID="Content">
+
+<com:TActiveTextBox ID="ATB" AutoPostBack="True" onTextChanged="onATB" /><br />
+<com:TTextBox ID="TB"/><br />
+Callbacks: <com:TActiveLabel ID="X" Text="0"/>
+
+</com:TContent>
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket695.php b/tests/FunctionalTests/tickets/protected/pages/Ticket695.php
new file mode 100644
index 00000000..205b01c0
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket695.php
@@ -0,0 +1,8 @@
+<?php
+Prado::Using ('System.Web.UI.ActiveControls.*');
+class Ticket695 extends TPage {
+ public function onATB($sender,$param) {
+ $this->X->Text=$this->X->Text+1;
+ }
+}
+?>