diff options
author | xue <> | 2005-12-04 04:25:45 +0000 |
---|---|---|
committer | xue <> | 2005-12-04 04:25:45 +0000 |
commit | 0dda82c2a13ed09a2520dda9b420e8f90703c67b (patch) | |
tree | 27815328ce64437ff5e34cb163557d365b316abc /framework/Web/UI/THiddenFieldPageStatePersister.php | |
parent | 3ea63072225a473239227facfabde294bb58ed1d (diff) |
Diffstat (limited to 'framework/Web/UI/THiddenFieldPageStatePersister.php')
-rw-r--r-- | framework/Web/UI/THiddenFieldPageStatePersister.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/THiddenFieldPageStatePersister.php b/framework/Web/UI/THiddenFieldPageStatePersister.php index 5525b50a..d4041983 100644 --- a/framework/Web/UI/THiddenFieldPageStatePersister.php +++ b/framework/Web/UI/THiddenFieldPageStatePersister.php @@ -41,12 +41,12 @@ class THiddenFieldPageStatePersister extends TComponent implements IPageStatePer $data=gzcompress($hmac.$data);
else
$data=$hmac.$data;
- $this->_application->getService()->getRequestedPage()->getClientScript()->registerHiddenField(TClientScriptManager::FIELD_PAGE_STATE,base64_encode($data));
+ $this->_application->getService()->getRequestedPage()->getClientScript()->registerHiddenField(TPage::FIELD_PAGESTATE,base64_encode($data));
}
public function load()
{
- $str=base64_decode($this->_application->getRequest()->getItems()->itemAt(TClientScriptManager::FIELD_PAGE_STATE));
+ $str=base64_decode($this->_application->getRequest()->getItems()->itemAt(TPage::FIELD_PAGESTATE));
if($str==='')
return null;
if(extension_loaded('zlib'))
|