diff options
author | wei <> | 2006-08-05 03:42:04 +0000 |
---|---|---|
committer | wei <> | 2006-08-05 03:42:04 +0000 |
commit | c927f9343001b456c1fa25dc541c3f1b005510f8 (patch) | |
tree | 77471b0dbb0327e1c601ec4ffaeb02d9222dc4bd /tests/FunctionalTests/tickets/protected/pages/Ticket278.php | |
parent | 58f7aa0ebe9920d33a22b95c3f73fc4b70a75426 (diff) |
Fixed #278
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket278.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket278.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket278.php b/tests/FunctionalTests/tickets/protected/pages/Ticket278.php new file mode 100644 index 00000000..1aadee77 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket278.php @@ -0,0 +1,23 @@ +<?php
+
+class Ticket278 extends TPage
+{
+ function validator2_onValidate($sender, $param)
+ {
+ $sender->Enabled = $this->check1->Checked;
+ }
+
+ function validate2_onPostValidate($sender, $param)
+ {
+ $sender->Enabled = true;
+ }
+
+ function onPreRender($param)
+ {
+ parent::onPreRender($param);
+ $this->panel1->Style =
+ $this->check1->Checked ? "display:block" : "display:none";
+ }
+}
+
+?>
\ No newline at end of file |