summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket592.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket592.php')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket592.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket592.php b/tests/FunctionalTests/tickets/protected/pages/Ticket592.php
new file mode 100644
index 00000000..751de056
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket592.php
@@ -0,0 +1,22 @@
+<?php
+Prado::using('System.Web.UI.ActiveControls.*');
+class Ticket592 extends TPage
+{
+ public function noGroup($sender, $param)
+ {
+ $this->label1->Text = "radio1 checked:{".$this->radio1->getChecked()."} radio2 checked:{".$this->radio2->getChecked()."} ";
+ }
+
+ public function group($sender, $param)
+ {
+ $this->label1->Text = "bad_radio1 checked:{".$this->bad_radio1->getChecked()."} bad_radio2 checked:{".$this->bad_radio2->getChecked()."} ";
+ }
+
+ public function uniquegroup ($sender,$param)
+ {
+ $this->label1->Text = "bad_radio3 checked:{".$this->bad_radio3->getChecked()."} bad_radio4 checked:{".$this->bad_radio4->getChecked()."} ";
+ }
+
+}
+
+?> \ No newline at end of file