summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2013-09-30 17:36:51 +0200
committerFabio Bas <ctrlaltca@gmail.com>2013-09-30 17:36:51 +0200
commit064053a81f4ce4e9cef5e8984dadfe7cca049fb9 (patch)
treebc3f21355f56918932569e33d3dfcc665d7b9cf2 /framework/Web/UI/WebControls
parent4ef09ccaf27e31ac5112b2846c253a2877f8a520 (diff)
Fix use of TCallbackOptions with TActiveCheckBoxList, TActiveRadioButtonList, TActiveRatingList
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r--framework/Web/UI/WebControls/TCheckBoxList.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TCheckBoxList.php b/framework/Web/UI/WebControls/TCheckBoxList.php
index ac278a16..5122432c 100644
--- a/framework/Web/UI/WebControls/TCheckBoxList.php
+++ b/framework/Web/UI/WebControls/TCheckBoxList.php
@@ -84,8 +84,10 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont
* @param string control ID
* @return TControl control being found
*/
- public function findControl($id)
+ public function findControl($id, $real=false)
{
+ if ($real===true)
+ return parent::findControl($id);
return $this;
}
@@ -418,12 +420,14 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont
$this->_repeatedControl->setTabIndex($tabIndex);
$this->setAccessKey('');
$this->setTabIndex(0);
+ $this->addAttributesToRender($writer);
$repeatInfo->renderRepeater($writer,$this);
$this->setAccessKey($accessKey);
$this->setTabIndex($tabIndex);
if ($needSpan)
$writer->renderEndTag();
}
+
//checkbox skipped the client control script in addAttributesToRender
if($this->getEnabled(true)
&& $this->getEnableClientScript()