summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorxue <>2005-11-22 12:49:21 +0000
committerxue <>2005-11-22 12:49:21 +0000
commit75d146ca341c0e0b92e8dcd180fbac352155644a (patch)
tree53a9a2aa3bbe1832a1fa91e035c3bb97c8414001 /framework/Web
parent12a74128ad47e706fd0acc6a3367cbe8bd4e7f1e (diff)
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Services/TPageService.php5
-rw-r--r--framework/Web/UI/WebControls/TImageButton.php2
2 files changed, 6 insertions, 1 deletions
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php
index 3c57cfc3..79f81bcd 100644
--- a/framework/Web/Services/TPageService.php
+++ b/framework/Web/Services/TPageService.php
@@ -344,6 +344,11 @@ class TPageService extends TComponent implements IService
throw new TConfigurationException('pageservice_basepath_invalid',$value);
}
+ protected function createHtmlTextWriter()
+ {
+ $writer=new THtmlTextWriter($this->_application->getResponse());
+ }
+
/**
* Runs the service.
* This will create the requested page, initializes it with the property values
diff --git a/framework/Web/UI/WebControls/TImageButton.php b/framework/Web/UI/WebControls/TImageButton.php
index 6452c651..34ab4375 100644
--- a/framework/Web/UI/WebControls/TImageButton.php
+++ b/framework/Web/UI/WebControls/TImageButton.php
@@ -13,7 +13,7 @@
/**
* TImage class file
*/
-require_once(dirname(__FILE__).'/TImage.php');
+Prado::using('System.Web.UI.WebControls.TImage');
/**
* TImageButton class