summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TBulletedList.php
diff options
context:
space:
mode:
authorxue <>2006-03-17 22:58:05 +0000
committerxue <>2006-03-17 22:58:05 +0000
commit95764689f7681d5905c199727dd456671f2fd1b6 (patch)
tree6a7c4f74642de8189420679b2d43c4124fc1bf36 /framework/Web/UI/WebControls/TBulletedList.php
parent261c29ece2ccf37e6419b9886cefd29f9dbb3c89 (diff)
Cleanup of usage of registerPostBackControl.
Diffstat (limited to 'framework/Web/UI/WebControls/TBulletedList.php')
-rw-r--r--framework/Web/UI/WebControls/TBulletedList.php6
1 files changed, 3 insertions, 3 deletions
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();