diff options
author | xue <> | 2006-02-13 22:12:50 +0000 |
---|---|---|
committer | xue <> | 2006-02-13 22:12:50 +0000 |
commit | 3e60cbad4b79301ae086ecacbdc63af333532a43 (patch) | |
tree | aaa72887f9e5eaf94305c8a08a07f7a735c378ac /framework | |
parent | 98e796c1a4f0bda1abc4df7e08df9ddb4f6e50af (diff) |
Added repeater functional tests.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/UI/WebControls/TBulletedList.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/framework/Web/UI/WebControls/TBulletedList.php b/framework/Web/UI/WebControls/TBulletedList.php index 8857ecb1..233ace4e 100644 --- a/framework/Web/UI/WebControls/TBulletedList.php +++ b/framework/Web/UI/WebControls/TBulletedList.php @@ -254,10 +254,7 @@ class TBulletedList extends TListControl implements IPostBackEventHandler foreach($this->getItems() as $index=>$item)
{
if($item->getHasAttributes())
- {
- foreach($item->getAttributes() as $name=>$value)
- $writer->addAttribute($name,$value);
- }
+ $writer->addAttributes($item->getAttributes());
$writer->renderBeginTag('li');
$this->renderBulletText($writer,$item,$index);
$writer->renderEndTag();
@@ -338,6 +335,7 @@ class TBulletedList extends TListControl implements IPostBackEventHandler $options['EventTarget'] = $this->getUniqueID();
$options['EventParameter'] = $this->_currentRenderItemIndex;
$options['ID'] = $this->getClientID().$this->_currentRenderItemIndex;
+ $options['StopEvent'] = true;
return $options;
}
|