From e4999b25052d1ad9400a0f9fd5289a49eea1bddc Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sun, 25 Jan 2015 20:04:57 +0100 Subject: More namespace changes Changed version to 3.2.99; Attempt at fixing autoloading fixed enough namespaces to have some demos running --- framework/Web/UI/WebControls/TEditCommandColumn.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'framework/Web/UI/WebControls/TEditCommandColumn.php') diff --git a/framework/Web/UI/WebControls/TEditCommandColumn.php b/framework/Web/UI/WebControls/TEditCommandColumn.php index bea88144..07eec55b 100644 --- a/framework/Web/UI/WebControls/TEditCommandColumn.php +++ b/framework/Web/UI/WebControls/TEditCommandColumn.php @@ -10,11 +10,7 @@ */ namespace Prado\Web\UI\WebControls; - -/** - * TDataGridColumn class file - */ -Prado::using('System.Web.UI.WebControls.TDataGridColumn'); +use Prado\TPropertyValue; /** * TEditCommandColumn class @@ -241,12 +237,12 @@ class TEditCommandColumn extends TDataGridColumn protected function createButton($commandName,$text,$causesValidation,$validationGroup) { if($this->getButtonType()===TButtonColumnType::LinkButton) - $button=Prado::createComponent('System.Web.UI.WebControls.TLinkButton'); + $button=Prado::createComponent('\\Prado\\Web\\UI\\WebControls\\TLinkButton'); else if($this->getButtonType()===TButtonColumnType::PushButton) - $button=Prado::createComponent('System.Web.UI.WebControls.TButton'); + $button=Prado::createComponent('\\Prado\\Web\\UI\\WebControls\\TButton'); else // image buttons { - $button=Prado::createComponent('System.Web.UI.WebControls.TImageButton'); + $button=Prado::createComponent('\\Prado\\Web\\UI\\WebControls\\TImageButton'); if(strcasecmp($commandName,'Update')===0) $url=$this->getUpdateImageUrl(); else if(strcasecmp($commandName,'Cancel')===0) -- cgit v1.2.3