diff options
author | tof <> | 2007-09-25 13:17:38 +0000 |
---|---|---|
committer | tof <> | 2007-09-25 13:17:38 +0000 |
commit | c67e6384d8d0695bf20693674ecfcec019ec5015 (patch) | |
tree | cf8a41797540250118b73209c547abe096ddbcb4 /tests/FunctionalTests/tickets/protected/pages/Ticket679.php | |
parent | fff38f77a0234c8827a898a81e2d71278de0f302 (diff) |
Add Ticket #679 testcase
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket679.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket679.php | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket679.php b/tests/FunctionalTests/tickets/protected/pages/Ticket679.php new file mode 100644 index 00000000..c28252bd --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket679.php @@ -0,0 +1,43 @@ +<?php + +prado::using ('System.Web.UI.ActiveControls.*'); + +class Ticket679 extends TPage +{ + // repeater bug + public function onLoad($param) + { + parent::onLoad($param); + $dataArray[0][ 'id' ] = '1' ; + + if( !$this->Page->IsPostBack && !$this->Page->IsCallBack) + { + $this->Repeater->DataSource = $dataArray ; + $this->Repeater->dataBind() ; + } + } + + public function changeText( $sender, $param ) + { + $obj = $this->myLabel ; + $obj->Text = $sender->Text ; + $obj->Display="Dynamic"; + + // solution + //$this->CallBackClient->show($obj, true); + } + + + // activeradiobutton bug + public function checkRadioButton($sender, $param){ + $this->myRadioButton->checked = true; + } + public function uncheckRadioButton($sender, $param){ + $this->myRadioButton->checked = false; + + // solution + //$this->CallbackClient->check($this->myRadioButton, false); + } + +} +?>
\ No newline at end of file |