diff options
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket470.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket470.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket470.php b/tests/FunctionalTests/tickets/protected/pages/Ticket470.php new file mode 100644 index 00000000..45741176 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket470.php @@ -0,0 +1,24 @@ +<?php
+
+Prado::using('System.Web.UI.ActiveControls.*');
+
+class Ticket470 extends TPage
+{
+ /**
+ * Increase the reload counter and render the activepanel content
+ */
+ public function Reload($sender, $param){
+ $this->Results->Text = "";
+ $this->counter->Text = $this->counter->Text +1;
+ $this->activePanelTest->renderControl($param->getNewWriter());
+ }
+
+ /**
+ *function to call when the form is valid (and the linkbutton fired his callback event)
+ */
+ public function Valid($sender, $param){
+ $this->Results->Text = "OK!!!";
+ }
+}
+
+?>
\ No newline at end of file |