From 6e275c7db5cbbf1bf0331bbaf60f3b3ec612c3a7 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 13 Jun 2006 02:07:25 +0000 Subject: Fixed #224. --- framework/Web/UI/TControl.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'framework/Web/UI/TControl.php') diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php index d5079382..d1767d57 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -998,7 +998,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable { return isset($this->_rf[self::RF_NAMED_OBJECTS][$name]); } - + /** * @return boolean true if the control has been initialized. */ @@ -1006,7 +1006,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable { return $this->getControlStage() >= self::CS_CHILD_INITIALIZED; } - + /** * @return boolean true if the control has loaded post data. */ @@ -1250,9 +1250,9 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable $control->evaluateDynamicContent(); } } - + if($this instanceof IPostBackDataHandler) - $this->getPage()->registerPostDataLoader($this); + $this->getPage()->registerPostDataLoader($this); } $this->_stage=self::CS_PRERENDERED; } @@ -1821,7 +1821,6 @@ interface IPostBackEventHandler public function raisePostBackEvent($param); } - /** * IPostBackDataHandler interface * -- cgit v1.2.3