From 95764689f7681d5905c199727dd456671f2fd1b6 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 17 Mar 2006 22:58:05 +0000 Subject: Cleanup of usage of registerPostBackControl. --- framework/Web/UI/WebControls/TBulletedList.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'framework/Web/UI/WebControls/TBulletedList.php') diff --git a/framework/Web/UI/WebControls/TBulletedList.php b/framework/Web/UI/WebControls/TBulletedList.php index da9d196e..05cbaab1 100644 --- a/framework/Web/UI/WebControls/TBulletedList.php +++ b/framework/Web/UI/WebControls/TBulletedList.php @@ -321,7 +321,7 @@ class TBulletedList extends TListControl implements IPostBackEventHandler else { $this->_currentRenderItemIndex = $index; - $this->getPage()->getClientScript()->registerPostbackControl($this); + $this->getPage()->getClientScript()->registerPostBackControl('Prado.WebUI.TBulletedList',$this->getPostBackOptions()); $writer->addAttribute('id', $this->getClientID().$index); $writer->addAttribute('href', "javascript:;//".$this->getClientID().$index); } @@ -333,9 +333,9 @@ class TBulletedList extends TListControl implements IPostBackEventHandler } /** - * @return TPostBackOptions postback options used for linkbuttons. + * @return array postback options used for linkbuttons. */ - public function getPostBackOptions() + protected function getPostBackOptions() { $options['ValidationGroup'] = $this->getValidationGroup(); $options['CausesValidation'] = $this->getCausesValidation(); -- cgit v1.2.3