diff options
author | xue <> | 2006-10-29 12:29:16 +0000 |
---|---|---|
committer | xue <> | 2006-10-29 12:29:16 +0000 |
commit | a9951e6a822996057e5b05a873ea468045f37728 (patch) | |
tree | 9401c8bc143f064d97bfc24bc7d53e65a10a77d3 /framework/Web/UI | |
parent | 3f0a1f7f88ac6728615f4cbdee7e9d7ebe40d5c2 (diff) |
constructUrl() now encodes & into & by default.
TRepeater does not render <span> anymore for empty item template.
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/WebControls/TRepeater.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/Web/UI/WebControls/TRepeater.php b/framework/Web/UI/WebControls/TRepeater.php index 357a8730..046e0a88 100644 --- a/framework/Web/UI/WebControls/TRepeater.php +++ b/framework/Web/UI/WebControls/TRepeater.php @@ -364,10 +364,8 @@ class TRepeater extends TDataBoundControl implements INamingContainer */
public function render($writer)
{
- if($this->_items && $this->_items->getCount())
+ if($this->_items && $this->_items->getCount() || $this->_emptyTemplate!==null)
$this->renderContents($writer);
- else if($this->_emptyTemplate!==null)
- parent::render($writer);
}
/**
|