summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
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