From 2db708960f4435e2b98518f8fa84cc036ac9f2eb Mon Sep 17 00:00:00 2001 From: wei <> Date: Tue, 29 Aug 2006 12:53:23 +0000 Subject: Update active controls. --- .../Web/UI/ActiveControls/TInPlaceTextBox.php | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'framework/Web/UI/ActiveControls/TInPlaceTextBox.php') diff --git a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php index b783be88..b131da24 100644 --- a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php +++ b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php @@ -190,28 +190,6 @@ class TInPlaceTextBox extends TLabel implements $this->setViewState('ValidationGroup',$value,''); } - /** - * Loads user input data. - * This method is primarly used by framework developers. - * @param string the key that can be used to retrieve data from the input data collection - * @param array the input data collection - * @return boolean whether the data of the component has been changed - */ - public function loadPostData($key,$values) - { - $value=$values[$key]; - if($this->getText()!==$value) - { - $enabled = $this->getActiveControl()->getEnableUpdate(); - $this->getActiveControl()->setEnableUpdate(false); - $this->setText($value); - $this->getActiveControl()->setEnableUpdate($enabled); - return true; - } - else - return false; - } - public function raisePostDataChangedEvent() { $this->onTextChanged(null); -- cgit v1.2.3