summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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;
+ }
+}
+?>