From cf5bdd1f8f3919f06ee3f8de9d71ff156fada0ab Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 31 Mar 2006 16:16:36 +0000 Subject: Updated the script for generating pradolite.php. --- framework/Web/UI/TPage.php | 2 ++ framework/Web/UI/TPageStatePersister.php | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'framework') diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php index e13f21c1..b68c4996 100644 --- a/framework/Web/UI/TPage.php +++ b/framework/Web/UI/TPage.php @@ -568,6 +568,7 @@ class TPage extends TTemplateControl */ protected function loadPageState() { + Prado::trace("Loading state",'System.Web.UI.TPage'); $state=$this->getStatePersister()->load(); $this->loadStateRecursive($state,$this->getEnableViewState()); } @@ -577,6 +578,7 @@ class TPage extends TTemplateControl */ protected function savePageState() { + Prado::trace("Saving state",'System.Web.UI.TPage'); $state=&$this->saveStateRecursive($this->getEnableViewState()); $this->getStatePersister()->save($state); } diff --git a/framework/Web/UI/TPageStatePersister.php b/framework/Web/UI/TPageStatePersister.php index b16d9f7d..3551b5f6 100644 --- a/framework/Web/UI/TPageStatePersister.php +++ b/framework/Web/UI/TPageStatePersister.php @@ -54,7 +54,6 @@ class TPageStatePersister extends TApplicationComponent implements IPageStatePer */ public function save($state) { - Prado::trace("Saving state",'System.Web.UI.TPageStatePersister'); if($this->_page->getEnableStateValidation()) $data=$this->getApplication()->getSecurityManager()->hashData(Prado::serialize($state)); else @@ -73,7 +72,6 @@ class TPageStatePersister extends TApplicationComponent implements IPageStatePer */ public function load() { - Prado::trace("Loading state",'System.Web.UI.TPageStatePersister'); $str=base64_decode($this->getRequest()->itemAt(TPage::FIELD_PAGESTATE)); if($str==='') return null; -- cgit v1.2.3