summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormikl <>2008-04-13 20:23:22 +0000
committermikl <>2008-04-13 20:23:22 +0000
commit2193665473e8ddbda735c263a4455a1b76b0b317 (patch)
tree37cfc76a94b2ce1144f2f7de89ba36e3e3cf39fe
parentcb09f6ad38d3578996c48df08bdd0b187ed32cea (diff)
Added test page for #695
-rw-r--r--.gitattributes2
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket695.page7
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket695.php8
3 files changed, 17 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index ee84a256..525847be 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -3009,6 +3009,8 @@ tests/FunctionalTests/tickets/protected/pages/Ticket679.page -text
tests/FunctionalTests/tickets/protected/pages/Ticket679.php -text
tests/FunctionalTests/tickets/protected/pages/Ticket68.page -text
tests/FunctionalTests/tickets/protected/pages/Ticket691.page -text
+tests/FunctionalTests/tickets/protected/pages/Ticket695.page -text
+tests/FunctionalTests/tickets/protected/pages/Ticket695.php -text
tests/FunctionalTests/tickets/protected/pages/Ticket703/Logs/LogFile.txt -text
tests/FunctionalTests/tickets/protected/pages/Ticket703/Ticket703.page -text
tests/FunctionalTests/tickets/protected/pages/Ticket703/Ticket703.php -text
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;
+ }
+}
+?>