summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2015-07-11 12:31:44 +0200
committerDavid <ottodavid@gmx.net>2015-07-11 12:39:42 +0200
commitb46b4e7acb00715982a8d3543fb22f5ac64c88fe (patch)
tree88a6aa5c49a05874d1c2d3f64eb5f283e0c87cb1 /framework/Web
parent6dae236ec5528522de472637f9d70a98158b9a5d (diff)
Added missing use statements in framework
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Services/TFeedService.php1
-rw-r--r--framework/Web/Services/TPageConfiguration.php1
-rw-r--r--framework/Web/Services/TRpcException.php1
-rw-r--r--framework/Web/Services/TSoapServer.php1
-rw-r--r--framework/Web/Services/TSoapService.php1
-rw-r--r--framework/Web/TAssetManager.php2
-rw-r--r--framework/Web/TCacheHttpSession.php1
-rw-r--r--framework/Web/TUrlMapping.php1
-rw-r--r--framework/Web/TUrlMappingPattern.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveBoundColumn.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveButton.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActiveButtonColumn.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActiveCheckBox.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveCheckBoxColumn.php5
-rw-r--r--framework/Web/UI/ActiveControls/TActiveCheckBoxList.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActiveCheckBoxListItem.php2
-rwxr-xr-xframework/Web/UI/ActiveControls/TActiveClientScript.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveControlAdapter.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActiveCustomValidator.php5
-rw-r--r--framework/Web/UI/ActiveControls/TActiveCustomValidatorClientSide.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveDataGrid.php6
-rw-r--r--framework/Web/UI/ActiveControls/TActiveDataGridPager.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveDataGridPagerEventParameter.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveDataList.php1
-rwxr-xr-xframework/Web/UI/ActiveControls/TActiveDatePicker.php7
-rw-r--r--framework/Web/UI/ActiveControls/TActiveDropDownList.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActiveDropDownListColumn.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveEditCommandColumn.php3
-rwxr-xr-xframework/Web/UI/ActiveControls/TActiveFileUpload.php7
-rw-r--r--framework/Web/UI/ActiveControls/TActiveHiddenField.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActiveHyperLink.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActiveHyperLinkColumn.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveImage.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveImageButton.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveLabel.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActiveLinkButton.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActiveListBox.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveListControlAdapter.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActiveListItemCollection.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveLiteralColumn.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveMultiView.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActivePageAdapter.php6
-rw-r--r--framework/Web/UI/ActiveControls/TActivePager.php8
-rw-r--r--framework/Web/UI/ActiveControls/TActivePanel.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActiveRadioButton.php2
-rw-r--r--framework/Web/UI/ActiveControls/TActiveRadioButtonItem.php2
-rw-r--r--framework/Web/UI/ActiveControls/TActiveRadioButtonList.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActiveRatingList.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveRepeater.php2
-rw-r--r--framework/Web/UI/ActiveControls/TActiveTableCell.php5
-rw-r--r--framework/Web/UI/ActiveControls/TActiveTableRow.php5
-rw-r--r--framework/Web/UI/ActiveControls/TActiveTemplateColumn.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveTextBox.php3
-rw-r--r--framework/Web/UI/ActiveControls/TAutoComplete.php5
-rw-r--r--framework/Web/UI/ActiveControls/TAutoCompleteTemplate.php1
-rw-r--r--framework/Web/UI/ActiveControls/TBaseActiveCallbackControl.php3
-rw-r--r--framework/Web/UI/ActiveControls/TBaseActiveControl.php5
-rw-r--r--framework/Web/UI/ActiveControls/TCallback.php3
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackClientScript.php8
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackClientSide.php3
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackErrorHandler.php6
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackEventParameter.php1
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackOptions.php2
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackPageStateTracker.php2
-rwxr-xr-xframework/Web/UI/ActiveControls/TCallbackResponseAdapter.php1
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackResponseWriter.php1
-rwxr-xr-xframework/Web/UI/ActiveControls/TDraggable.php3
-rwxr-xr-xframework/Web/UI/ActiveControls/TDropContainer.php4
-rw-r--r--framework/Web/UI/ActiveControls/TDropContainerEventParameter.php4
-rw-r--r--framework/Web/UI/ActiveControls/TEventTriggeredCallback.php3
-rw-r--r--framework/Web/UI/ActiveControls/TInPlaceTextBox.php5
-rw-r--r--framework/Web/UI/ActiveControls/TInvalidCallbackException.php1
-rw-r--r--framework/Web/UI/ActiveControls/TStyleDiff.php1
-rw-r--r--framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php4
-rw-r--r--framework/Web/UI/ActiveControls/TTriggeredCallback.php4
-rw-r--r--framework/Web/UI/ActiveControls/TValueTriggeredCallback.php4
-rw-r--r--framework/Web/UI/JuiControls/TJuiAutoComplete.php7
-rw-r--r--framework/Web/UI/JuiControls/TJuiAutoCompleteEventParameter.php1
-rw-r--r--framework/Web/UI/JuiControls/TJuiAutoCompleteTemplate.php1
-rw-r--r--framework/Web/UI/JuiControls/TJuiControlAdapter.php3
-rw-r--r--framework/Web/UI/JuiControls/TJuiControlOptions.php5
-rw-r--r--framework/Web/UI/JuiControls/TJuiDraggable.php5
-rw-r--r--framework/Web/UI/JuiControls/TJuiDroppable.php5
-rw-r--r--framework/Web/UI/JuiControls/TJuiEventParameter.php4
-rw-r--r--framework/Web/UI/JuiControls/TJuiProgressbar.php5
-rw-r--r--framework/Web/UI/JuiControls/TJuiResizable.php5
-rw-r--r--framework/Web/UI/JuiControls/TJuiSelectable.php7
-rw-r--r--framework/Web/UI/JuiControls/TJuiSelectableTemplate.php2
-rw-r--r--framework/Web/UI/JuiControls/TJuiSortable.php7
-rw-r--r--framework/Web/UI/JuiControls/TJuiSortableTemplate.php1
-rw-r--r--framework/Web/UI/TCachePageStatePersister.php1
-rw-r--r--framework/Web/UI/TControl.php1
-rw-r--r--framework/Web/UI/TPage.php2
-rw-r--r--framework/Web/UI/TTemplateManager.php1
-rw-r--r--framework/Web/UI/WebControls/TAccordion.php1
-rw-r--r--framework/Web/UI/WebControls/TBaseDataList.php2
-rw-r--r--framework/Web/UI/WebControls/TBaseValidator.php3
-rw-r--r--framework/Web/UI/WebControls/TBoundColumn.php1
-rw-r--r--framework/Web/UI/WebControls/TBulletedList.php1
-rw-r--r--framework/Web/UI/WebControls/TCaptcha.php1
-rw-r--r--framework/Web/UI/WebControls/TCaptchaValidator.php1
-rw-r--r--framework/Web/UI/WebControls/TCheckBox.php1
-rw-r--r--framework/Web/UI/WebControls/TCheckBoxList.php1
-rw-r--r--framework/Web/UI/WebControls/TClientSideValidationSummaryOptions.php1
-rw-r--r--framework/Web/UI/WebControls/TCompareValidator.php1
-rw-r--r--framework/Web/UI/WebControls/TCompleteWizardStep.php1
-rw-r--r--framework/Web/UI/WebControls/TConditional.php1
-rw-r--r--framework/Web/UI/WebControls/TContent.php1
-rw-r--r--framework/Web/UI/WebControls/TContentPlaceHolder.php1
-rw-r--r--framework/Web/UI/WebControls/TDataBoundControl.php2
-rw-r--r--framework/Web/UI/WebControls/TDataGrid.php3
-rw-r--r--framework/Web/UI/WebControls/TDataGridColumn.php4
-rw-r--r--framework/Web/UI/WebControls/TDataGridColumnCollection.php1
-rw-r--r--framework/Web/UI/WebControls/TDataList.php3
-rw-r--r--framework/Web/UI/WebControls/TDataListCommandEventParameter.php1
-rw-r--r--framework/Web/UI/WebControls/TDataListItemCollection.php1
-rw-r--r--framework/Web/UI/WebControls/TDataListItemEventParameter.php1
-rw-r--r--framework/Web/UI/WebControls/TDataRenderer.php1
-rw-r--r--framework/Web/UI/WebControls/TDataSourceControl.php1
-rw-r--r--framework/Web/UI/WebControls/TDataSourceView.php1
-rw-r--r--framework/Web/UI/WebControls/TDataTypeValidator.php1
-rw-r--r--framework/Web/UI/WebControls/TDatePicker.php3
-rw-r--r--framework/Web/UI/WebControls/TDatePickerClientScript.php1
-rw-r--r--framework/Web/UI/WebControls/TDropDownList.php1
-rw-r--r--framework/Web/UI/WebControls/TEditCommandColumn.php1
-rw-r--r--framework/Web/UI/WebControls/THiddenField.php1
-rw-r--r--framework/Web/UI/WebControls/THotSpot.php1
-rw-r--r--framework/Web/UI/WebControls/THtmlArea.php4
-rw-r--r--framework/Web/UI/WebControls/THtmlArea4.php3
-rw-r--r--framework/Web/UI/WebControls/THyperLink.php1
-rw-r--r--framework/Web/UI/WebControls/TImageButton.php1
-rw-r--r--framework/Web/UI/WebControls/TKeyboard.php1
-rw-r--r--framework/Web/UI/WebControls/TListControl.php3
-rw-r--r--framework/Web/UI/WebControls/TListControlValidator.php1
-rw-r--r--framework/Web/UI/WebControls/TListItem.php2
-rw-r--r--framework/Web/UI/WebControls/TLiteral.php1
-rw-r--r--framework/Web/UI/WebControls/TMarkdown.php1
-rw-r--r--framework/Web/UI/WebControls/TMultiView.php3
-rw-r--r--framework/Web/UI/WebControls/TOutputCache.php4
-rw-r--r--framework/Web/UI/WebControls/TOutputCacheTextWriterMulti.php1
-rw-r--r--framework/Web/UI/WebControls/TPager.php1
-rw-r--r--framework/Web/UI/WebControls/TPagerPageChangedEventParameter.php1
-rw-r--r--framework/Web/UI/WebControls/TRadioButtonList.php1
-rw-r--r--framework/Web/UI/WebControls/TRangeValidator.php1
-rw-r--r--framework/Web/UI/WebControls/TReCaptcha.php2
-rw-r--r--framework/Web/UI/WebControls/TReCaptchaValidator.php1
-rw-r--r--framework/Web/UI/WebControls/TRepeater.php2
-rw-r--r--framework/Web/UI/WebControls/TRepeaterCommandEventParameter.php1
-rw-r--r--framework/Web/UI/WebControls/TRepeaterItemEventParameter.php1
-rw-r--r--framework/Web/UI/WebControls/TSafeHtml.php2
-rw-r--r--framework/Web/UI/WebControls/TSliderClientScript.php2
-rw-r--r--framework/Web/UI/WebControls/TTabPanel.php1
-rw-r--r--framework/Web/UI/WebControls/TTable.php1
-rw-r--r--framework/Web/UI/WebControls/TTableFooterRow.php1
-rw-r--r--framework/Web/UI/WebControls/TTableHeaderRow.php1
-rw-r--r--framework/Web/UI/WebControls/TTemplateColumn.php2
-rw-r--r--framework/Web/UI/WebControls/TTemplatedWizardStep.php1
-rw-r--r--framework/Web/UI/WebControls/TTextBox.php1
-rw-r--r--framework/Web/UI/WebControls/TTextHighlighter.php5
-rw-r--r--framework/Web/UI/WebControls/TValidatorClientSide.php1
-rw-r--r--framework/Web/UI/WebControls/TView.php1
-rw-r--r--framework/Web/UI/WebControls/TWebControlDecorator.php1
-rw-r--r--framework/Web/UI/WebControls/TWizard.php3
-rw-r--r--framework/Web/UI/WebControls/TWizardNavigationTemplate.php1
-rw-r--r--framework/Web/UI/WebControls/TWizardSideBarListItemTemplate.php1
-rw-r--r--framework/Web/UI/WebControls/TWizardSideBarTemplate.php1
-rw-r--r--framework/Web/UI/WebControls/TXmlTransform.php6
167 files changed, 404 insertions, 2 deletions
diff --git a/framework/Web/Services/TFeedService.php b/framework/Web/Services/TFeedService.php
index 7b2ece8b..b3c880c9 100644
--- a/framework/Web/Services/TFeedService.php
+++ b/framework/Web/Services/TFeedService.php
@@ -11,6 +11,7 @@
*/
namespace Prado\Web\Services;
+use Prado\Prado;
use Prado\TApplication;
use Prado\Exceptions\TConfigurationException;
use Prado\Exceptions\THttpException;
diff --git a/framework/Web/Services/TPageConfiguration.php b/framework/Web/Services/TPageConfiguration.php
index 681af133..a648a8ec 100644
--- a/framework/Web/Services/TPageConfiguration.php
+++ b/framework/Web/Services/TPageConfiguration.php
@@ -12,6 +12,7 @@
namespace Prado\Web\Services;
use Prado\Exceptions\TConfigurationException;
use Prado\Prado;
+use Prado\Security\TAuthorizationRule;
use Prado\TApplicationConfiguration;
use Prado\Security\TAuthorizationRuleCollection;
use Prado\TApplication;
diff --git a/framework/Web/Services/TRpcException.php b/framework/Web/Services/TRpcException.php
index baa28d46..7228915a 100644
--- a/framework/Web/Services/TRpcException.php
+++ b/framework/Web/Services/TRpcException.php
@@ -9,6 +9,7 @@
*/
namespace Prado\Web\Services;
+use Prado\Exceptions\TException;
/**
* TRpcException class
diff --git a/framework/Web/Services/TSoapServer.php b/framework/Web/Services/TSoapServer.php
index f737ae20..9e884a26 100644
--- a/framework/Web/Services/TSoapServer.php
+++ b/framework/Web/Services/TSoapServer.php
@@ -15,6 +15,7 @@ use Prado\Exceptions\TInvalidDataValueException;
use Prado\TPropertyValue;
use Prado\Prado;
use Prado\TApplicationMode;
+use WsdlGenerator;
/**
* TSoapServer class.
diff --git a/framework/Web/Services/TSoapService.php b/framework/Web/Services/TSoapService.php
index 5760f63c..265d2bb7 100644
--- a/framework/Web/Services/TSoapService.php
+++ b/framework/Web/Services/TSoapService.php
@@ -11,6 +11,7 @@
*/
namespace Prado\Web\Services;
+use Prado\Exceptions\TConfigurationException;
use Prado\Exceptions\THttpException;
use Prado\Prado;
use Prado\TApplication;
diff --git a/framework/Web/TAssetManager.php b/framework/Web/TAssetManager.php
index d6bcab6d..0827c265 100644
--- a/framework/Web/TAssetManager.php
+++ b/framework/Web/TAssetManager.php
@@ -13,9 +13,9 @@ namespace Prado\Web;
use Prado\Exceptions\TConfigurationException;
use Prado\Exceptions\TInvalidDataValueException;
use Prado\Exceptions\TInvalidOperationException;
+use Prado\Exceptions\TIOException;
use Prado\Prado;
use Prado\TApplicationMode;
-use Prado\IO\TIOException;
use Prado\IO\TTarFileExtractor;
/**
diff --git a/framework/Web/TCacheHttpSession.php b/framework/Web/TCacheHttpSession.php
index 56c3ff61..bf942246 100644
--- a/framework/Web/TCacheHttpSession.php
+++ b/framework/Web/TCacheHttpSession.php
@@ -12,6 +12,7 @@
*/
namespace Prado\Web;
+use Prado\Caching\ICache;
use Prado\Exceptions\TConfigurationException;
/**
diff --git a/framework/Web/TUrlMapping.php b/framework/Web/TUrlMapping.php
index d8c0aed7..278e459f 100644
--- a/framework/Web/TUrlMapping.php
+++ b/framework/Web/TUrlMapping.php
@@ -13,6 +13,7 @@ namespace Prado\Web;
use Prado\Exceptions\TConfigurationException;
use Prado\Prado;
use Prado\TApplication;
+use Prado\TPropertyValue;
use Prado\Xml\TXmlDocument;
use Prado\Xml\TXmlElement;
diff --git a/framework/Web/TUrlMappingPattern.php b/framework/Web/TUrlMappingPattern.php
index e32a9130..3d370940 100644
--- a/framework/Web/TUrlMappingPattern.php
+++ b/framework/Web/TUrlMappingPattern.php
@@ -13,6 +13,7 @@ namespace Prado\Web;
use Prado\Collections\TAttributeCollection;
use Prado\Exceptions\TConfigurationException;
use Prado\Exceptions\TInvalidDataValueException;
+use Prado\Prado;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/ActiveControls/TActiveBoundColumn.php b/framework/Web/UI/ActiveControls/TActiveBoundColumn.php
index 38b6fdbf..e4aaa4ed 100644
--- a/framework/Web/UI/ActiveControls/TActiveBoundColumn.php
+++ b/framework/Web/UI/ActiveControls/TActiveBoundColumn.php
@@ -10,6 +10,10 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Prado;
+use Prado\Web\UI\WebControls\IItemDataRenderer;
+use Prado\Web\UI\WebControls\TBoundColumn;
+use Prado\Web\UI\WebControls\TDataGrid;
/**
* TActiveBoundColumn class
diff --git a/framework/Web/UI/ActiveControls/TActiveButton.php b/framework/Web/UI/ActiveControls/TActiveButton.php
index 66d7b022..7b3f48ec 100644
--- a/framework/Web/UI/ActiveControls/TActiveButton.php
+++ b/framework/Web/UI/ActiveControls/TActiveButton.php
@@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active control adapter.
*/
+use Prado\Prado;
+use Prado\Web\UI\WebControls\TButton;
+
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
/**
diff --git a/framework/Web/UI/ActiveControls/TActiveButtonColumn.php b/framework/Web/UI/ActiveControls/TActiveButtonColumn.php
index cee7c86e..32a2ca78 100644
--- a/framework/Web/UI/ActiveControls/TActiveButtonColumn.php
+++ b/framework/Web/UI/ActiveControls/TActiveButtonColumn.php
@@ -10,6 +10,9 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Web\UI\WebControls\TButtonColumn;
+use Prado\Web\UI\WebControls\TButtonColumnType;
+use Prado\Web\UI\WebControls\TListItemType;
/**
* TActiveButtonColumn class
diff --git a/framework/Web/UI/ActiveControls/TActiveCheckBox.php b/framework/Web/UI/ActiveControls/TActiveCheckBox.php
index accfc5a1..80719ec9 100644
--- a/framework/Web/UI/ActiveControls/TActiveCheckBox.php
+++ b/framework/Web/UI/ActiveControls/TActiveCheckBox.php
@@ -14,6 +14,10 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active control adapter.
*/
+use Prado\Prado;
+use Prado\TPropertyValue;
+use Prado\Web\UI\WebControls\TCheckBox;
+
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
/**
diff --git a/framework/Web/UI/ActiveControls/TActiveCheckBoxColumn.php b/framework/Web/UI/ActiveControls/TActiveCheckBoxColumn.php
index 2fa4f4be..1ff5d1f8 100644
--- a/framework/Web/UI/ActiveControls/TActiveCheckBoxColumn.php
+++ b/framework/Web/UI/ActiveControls/TActiveCheckBoxColumn.php
@@ -10,6 +10,11 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Prado;
+use Prado\Web\UI\WebControls\IItemDataRenderer;
+use Prado\Web\UI\WebControls\TCheckBoxColumn;
+use Prado\Web\UI\WebControls\TDataGrid;
+use Prado\Web\UI\WebControls\TListItemType;
/**
* TActiveCheckBoxColumn class
diff --git a/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php b/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php
index 8d2c71ae..f490f737 100644
--- a/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php
+++ b/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php
@@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active control adapter.
*/
+use Prado\Prado;
+use Prado\Web\UI\WebControls\TCheckBoxList;
+
Prado::using('System.Web.UI.ActiveControls.TActiveListControlAdapter');
/**
diff --git a/framework/Web/UI/ActiveControls/TActiveCheckBoxListItem.php b/framework/Web/UI/ActiveControls/TActiveCheckBoxListItem.php
index cfe25c69..5f6245e9 100644
--- a/framework/Web/UI/ActiveControls/TActiveCheckBoxListItem.php
+++ b/framework/Web/UI/ActiveControls/TActiveCheckBoxListItem.php
@@ -11,6 +11,8 @@
namespace Prado\Web\UI\ActiveControls;
+use Prado\Web\UI\WebControls\TCheckBox;
+
class TActiveCheckBoxListItem extends TActiveCheckBox
{
/**
diff --git a/framework/Web/UI/ActiveControls/TActiveClientScript.php b/framework/Web/UI/ActiveControls/TActiveClientScript.php
index f933b2f1..40bef4aa 100755
--- a/framework/Web/UI/ActiveControls/TActiveClientScript.php
+++ b/framework/Web/UI/ActiveControls/TActiveClientScript.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Web\UI\WebControls\TClientScript;
/**
* TActiveClientScript class
diff --git a/framework/Web/UI/ActiveControls/TActiveControlAdapter.php b/framework/Web/UI/ActiveControls/TActiveControlAdapter.php
index 685a3688..3c13cc2f 100644
--- a/framework/Web/UI/ActiveControls/TActiveControlAdapter.php
+++ b/framework/Web/UI/ActiveControls/TActiveControlAdapter.php
@@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls;
/*
* Load common active control options.
*/
+use Prado\Prado;
+use Prado\Web\UI\TControlAdapter;
+
Prado::using('System.Web.UI.ActiveControls.TBaseActiveControl');
/**
diff --git a/framework/Web/UI/ActiveControls/TActiveCustomValidator.php b/framework/Web/UI/ActiveControls/TActiveCustomValidator.php
index 3ff7478b..acddd275 100644
--- a/framework/Web/UI/ActiveControls/TActiveCustomValidator.php
+++ b/framework/Web/UI/ActiveControls/TActiveCustomValidator.php
@@ -11,6 +11,11 @@
namespace Prado\Web\UI\ActiveControls;
+use Prado\Exceptions\TNotSupportedException;
+use Prado\Prado;
+use Prado\Web\UI\WebControls\TBaseValidator;
+use Prado\Web\UI\WebControls\TCustomValidator;
+
Prado::using('System.Web.UI.ActiveControls.TCallbackClientSide');
/**
diff --git a/framework/Web/UI/ActiveControls/TActiveCustomValidatorClientSide.php b/framework/Web/UI/ActiveControls/TActiveCustomValidatorClientSide.php
index 3dcf1b45..c43c939a 100644
--- a/framework/Web/UI/ActiveControls/TActiveCustomValidatorClientSide.php
+++ b/framework/Web/UI/ActiveControls/TActiveCustomValidatorClientSide.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\TPropertyValue;
/**
* Custom Validator callback client side options class.
diff --git a/framework/Web/UI/ActiveControls/TActiveDataGrid.php b/framework/Web/UI/ActiveControls/TActiveDataGrid.php
index 63ebe8de..574afed8 100644
--- a/framework/Web/UI/ActiveControls/TActiveDataGrid.php
+++ b/framework/Web/UI/ActiveControls/TActiveDataGrid.php
@@ -14,6 +14,12 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Includes the following used classes
*/
+use Prado\Prado;
+use Prado\Web\UI\ISurroundable;
+use Prado\Web\UI\WebControls\TDataGrid;
+use Prado\Web\UI\WebControls\TDataGridPagerButtonType;
+use Prado\Web\UI\WebControls\TLabel;
+
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton');
Prado::using('System.Web.UI.ActiveControls.TActiveImageButton');
diff --git a/framework/Web/UI/ActiveControls/TActiveDataGridPager.php b/framework/Web/UI/ActiveControls/TActiveDataGridPager.php
index c3aafe67..5e9f8e94 100644
--- a/framework/Web/UI/ActiveControls/TActiveDataGridPager.php
+++ b/framework/Web/UI/ActiveControls/TActiveDataGridPager.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Web\UI\WebControls\TDataGridPager;
/**
* TActiveDataGridPager class.
diff --git a/framework/Web/UI/ActiveControls/TActiveDataGridPagerEventParameter.php b/framework/Web/UI/ActiveControls/TActiveDataGridPagerEventParameter.php
index e9e7fc7a..a6e192e7 100644
--- a/framework/Web/UI/ActiveControls/TActiveDataGridPagerEventParameter.php
+++ b/framework/Web/UI/ActiveControls/TActiveDataGridPagerEventParameter.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Web\UI\WebControls\TDataGridPagerEventParameter;
/**
* TActiveDataGridPagerEventParameter class
diff --git a/framework/Web/UI/ActiveControls/TActiveDataList.php b/framework/Web/UI/ActiveControls/TActiveDataList.php
index c352eb11..d46e4c74 100644
--- a/framework/Web/UI/ActiveControls/TActiveDataList.php
+++ b/framework/Web/UI/ActiveControls/TActiveDataList.php
@@ -9,6 +9,7 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Web\UI\WebControls\TDataList;
/**
* TActiveDataList class
diff --git a/framework/Web/UI/ActiveControls/TActiveDatePicker.php b/framework/Web/UI/ActiveControls/TActiveDatePicker.php
index 61f769ba..18169f57 100755
--- a/framework/Web/UI/ActiveControls/TActiveDatePicker.php
+++ b/framework/Web/UI/ActiveControls/TActiveDatePicker.php
@@ -15,6 +15,13 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active control adapter.
*/
+use Prado\Prado;
+use Prado\TPropertyValue;
+use Prado\Web\Javascripts\TJavaScript;
+use Prado\Web\UI\TControl;
+use Prado\Web\UI\WebControls\TDatePicker;
+use Prado\Web\UI\WebControls\TDatePickerInputMode;
+
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
/**
diff --git a/framework/Web/UI/ActiveControls/TActiveDropDownList.php b/framework/Web/UI/ActiveControls/TActiveDropDownList.php
index 88b0172f..083b8290 100644
--- a/framework/Web/UI/ActiveControls/TActiveDropDownList.php
+++ b/framework/Web/UI/ActiveControls/TActiveDropDownList.php
@@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active list control adapter
*/
+use Prado\Prado;
+use Prado\Web\UI\WebControls\TDropDownList;
+
Prado::using('System.Web.UI.ActiveControls.TActiveListControlAdapter');
/**
diff --git a/framework/Web/UI/ActiveControls/TActiveDropDownListColumn.php b/framework/Web/UI/ActiveControls/TActiveDropDownListColumn.php
index 530500e2..29d1b993 100644
--- a/framework/Web/UI/ActiveControls/TActiveDropDownListColumn.php
+++ b/framework/Web/UI/ActiveControls/TActiveDropDownListColumn.php
@@ -10,6 +10,10 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Prado;
+use Prado\Web\UI\WebControls\IItemDataRenderer;
+use Prado\Web\UI\WebControls\TDataGrid;
+use Prado\Web\UI\WebControls\TDropDownListColumn;
/**
* TActiveDropDownListColumn class
diff --git a/framework/Web/UI/ActiveControls/TActiveEditCommandColumn.php b/framework/Web/UI/ActiveControls/TActiveEditCommandColumn.php
index ef1f886d..60d5ab29 100644
--- a/framework/Web/UI/ActiveControls/TActiveEditCommandColumn.php
+++ b/framework/Web/UI/ActiveControls/TActiveEditCommandColumn.php
@@ -10,6 +10,9 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Prado;
+use Prado\Web\UI\WebControls\TButtonColumnType;
+use Prado\Web\UI\WebControls\TEditCommandColumn;
/**
* TActiveEditCommandColumn class
diff --git a/framework/Web/UI/ActiveControls/TActiveFileUpload.php b/framework/Web/UI/ActiveControls/TActiveFileUpload.php
index 1e837643..21bddf85 100755
--- a/framework/Web/UI/ActiveControls/TActiveFileUpload.php
+++ b/framework/Web/UI/ActiveControls/TActiveFileUpload.php
@@ -13,6 +13,13 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load TActiveControlAdapter and TFileUpload.
*/
+use Exception;
+use Prado\Exceptions\TInvalidDataValueException;
+use Prado\Prado;
+use Prado\TPropertyValue;
+use Prado\Web\UI\INamingContainer;
+use Prado\Web\UI\WebControls\TFileUpload;
+
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
Prado::using('System.Web.UI.WebControls.TFileUpload');
diff --git a/framework/Web/UI/ActiveControls/TActiveHiddenField.php b/framework/Web/UI/ActiveControls/TActiveHiddenField.php
index 7dda44d0..6bed13ce 100644
--- a/framework/Web/UI/ActiveControls/TActiveHiddenField.php
+++ b/framework/Web/UI/ActiveControls/TActiveHiddenField.php
@@ -11,6 +11,9 @@
namespace Prado\Web\UI\ActiveControls;
+use Prado\Prado;
+use Prado\Web\UI\WebControls\THiddenField;
+
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
/**
diff --git a/framework/Web/UI/ActiveControls/TActiveHyperLink.php b/framework/Web/UI/ActiveControls/TActiveHyperLink.php
index d625cf24..53a3150d 100644
--- a/framework/Web/UI/ActiveControls/TActiveHyperLink.php
+++ b/framework/Web/UI/ActiveControls/TActiveHyperLink.php
@@ -10,6 +10,9 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\IO\TTextWriter;
+use Prado\Prado;
+use Prado\Web\UI\WebControls\THyperLink;
/**
* TActiveHyperLink class.
diff --git a/framework/Web/UI/ActiveControls/TActiveHyperLinkColumn.php b/framework/Web/UI/ActiveControls/TActiveHyperLinkColumn.php
index 1d2d103c..54be2c24 100644
--- a/framework/Web/UI/ActiveControls/TActiveHyperLinkColumn.php
+++ b/framework/Web/UI/ActiveControls/TActiveHyperLinkColumn.php
@@ -10,6 +10,10 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Prado;
+use Prado\Web\UI\WebControls\IItemDataRenderer;
+use Prado\Web\UI\WebControls\TDataGrid;
+use Prado\Web\UI\WebControls\THyperLinkColumn;
/**
* TActiveHyperLinkColumn class
diff --git a/framework/Web/UI/ActiveControls/TActiveImage.php b/framework/Web/UI/ActiveControls/TActiveImage.php
index 3c2d0172..3ea0a1ca 100644
--- a/framework/Web/UI/ActiveControls/TActiveImage.php
+++ b/framework/Web/UI/ActiveControls/TActiveImage.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Web\UI\WebControls\TImage;
/**
* TActiveImage class.
diff --git a/framework/Web/UI/ActiveControls/TActiveImageButton.php b/framework/Web/UI/ActiveControls/TActiveImageButton.php
index df4dacb3..95106525 100644
--- a/framework/Web/UI/ActiveControls/TActiveImageButton.php
+++ b/framework/Web/UI/ActiveControls/TActiveImageButton.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Web\UI\WebControls\TImageButton;
/**
* TActiveImageButton class.
diff --git a/framework/Web/UI/ActiveControls/TActiveLabel.php b/framework/Web/UI/ActiveControls/TActiveLabel.php
index 8ef99a47..ecfd9e9f 100644
--- a/framework/Web/UI/ActiveControls/TActiveLabel.php
+++ b/framework/Web/UI/ActiveControls/TActiveLabel.php
@@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active control adapter.
*/
+use Prado\Prado;
+use Prado\Web\UI\WebControls\TLabel;
+
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
/**
diff --git a/framework/Web/UI/ActiveControls/TActiveLinkButton.php b/framework/Web/UI/ActiveControls/TActiveLinkButton.php
index a5af0b39..c8e0c889 100644
--- a/framework/Web/UI/ActiveControls/TActiveLinkButton.php
+++ b/framework/Web/UI/ActiveControls/TActiveLinkButton.php
@@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active control adapter.
*/
+use Prado\Prado;
+use Prado\Web\UI\WebControls\TLinkButton;
+
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
/**
diff --git a/framework/Web/UI/ActiveControls/TActiveListBox.php b/framework/Web/UI/ActiveControls/TActiveListBox.php
index 16ef4e4f..3b407d35 100644
--- a/framework/Web/UI/ActiveControls/TActiveListBox.php
+++ b/framework/Web/UI/ActiveControls/TActiveListBox.php
@@ -11,6 +11,10 @@
namespace Prado\Web\UI\ActiveControls;
+
+use Prado\Prado;
+use Prado\Web\UI\WebControls\TListBox;
+
/**
* Load active list control adapter
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php b/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php
index 30e4385e..4c6d9ff7 100644
--- a/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php
+++ b/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php
@@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active control adapter.
*/
+use Prado\Prado;
+use Prado\Web\UI\WebControls\IListControlAdapter;
+
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
Prado::using('System.Web.UI.WebControls.TListControl');
diff --git a/framework/Web/UI/ActiveControls/TActiveListItemCollection.php b/framework/Web/UI/ActiveControls/TActiveListItemCollection.php
index 516599c2..6d18dc29 100644
--- a/framework/Web/UI/ActiveControls/TActiveListItemCollection.php
+++ b/framework/Web/UI/ActiveControls/TActiveListItemCollection.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Collections\TListItemCollection;
/**
* TActiveListItemCollection class.
diff --git a/framework/Web/UI/ActiveControls/TActiveLiteralColumn.php b/framework/Web/UI/ActiveControls/TActiveLiteralColumn.php
index 59e1b366..a09fa118 100644
--- a/framework/Web/UI/ActiveControls/TActiveLiteralColumn.php
+++ b/framework/Web/UI/ActiveControls/TActiveLiteralColumn.php
@@ -10,6 +10,10 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Prado;
+use Prado\Web\UI\WebControls\IItemDataRenderer;
+use Prado\Web\UI\WebControls\TDataGrid;
+use Prado\Web\UI\WebControls\TLiteralColumn;
/**
* TActiveLiteralColumn class
diff --git a/framework/Web/UI/ActiveControls/TActiveMultiView.php b/framework/Web/UI/ActiveControls/TActiveMultiView.php
index 488796a1..8553b449 100644
--- a/framework/Web/UI/ActiveControls/TActiveMultiView.php
+++ b/framework/Web/UI/ActiveControls/TActiveMultiView.php
@@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Includes the following used classes
*/
+use Prado\Prado;
+use Prado\Web\UI\WebControls\TMultiView;
+
Prado::using('System.Web.UI.WebControls.TMultiView');
/**
diff --git a/framework/Web/UI/ActiveControls/TActivePageAdapter.php b/framework/Web/UI/ActiveControls/TActivePageAdapter.php
index 0b038360..c579858b 100644
--- a/framework/Web/UI/ActiveControls/TActivePageAdapter.php
+++ b/framework/Web/UI/ActiveControls/TActivePageAdapter.php
@@ -15,6 +15,12 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load callback response adapter class.
*/
+use Prado\Prado;
+use Prado\Web\Javascripts\TJavaScript;
+use Prado\Web\UI\TControl;
+use Prado\Web\UI\TControlAdapter;
+use Prado\Web\UI\TPage;
+
Prado::using('System.Web.UI.ActiveControls.TCallbackResponseAdapter');
Prado::using('System.Web.UI.ActiveControls.TCallbackClientScript');
Prado::using('System.Web.UI.ActiveControls.TCallbackEventParameter');
diff --git a/framework/Web/UI/ActiveControls/TActivePager.php b/framework/Web/UI/ActiveControls/TActivePager.php
index 119e3d9b..7a15ad42 100644
--- a/framework/Web/UI/ActiveControls/TActivePager.php
+++ b/framework/Web/UI/ActiveControls/TActivePager.php
@@ -14,6 +14,14 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active control adapter.
*/
+use Prado\Prado;
+use Prado\Web\UI\WebControls\TDisplayStyle;
+use Prado\Web\UI\WebControls\TLabel;
+use Prado\Web\UI\WebControls\TPager;
+use Prado\Web\UI\WebControls\TPagerButtonType;
+use Prado\Web\UI\WebControls\TPagerMode;
+use Prado\Web\UI\WebControls\TWebControl;
+
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
/**
diff --git a/framework/Web/UI/ActiveControls/TActivePanel.php b/framework/Web/UI/ActiveControls/TActivePanel.php
index 007a8fba..c715e0b6 100644
--- a/framework/Web/UI/ActiveControls/TActivePanel.php
+++ b/framework/Web/UI/ActiveControls/TActivePanel.php
@@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active control adapter.
*/
+use Prado\Prado;
+use Prado\Web\UI\WebControls\TPanel;
+
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
/**
diff --git a/framework/Web/UI/ActiveControls/TActiveRadioButton.php b/framework/Web/UI/ActiveControls/TActiveRadioButton.php
index 4abdfe05..7c464db4 100644
--- a/framework/Web/UI/ActiveControls/TActiveRadioButton.php
+++ b/framework/Web/UI/ActiveControls/TActiveRadioButton.php
@@ -10,6 +10,8 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\TPropertyValue;
+use Prado\Web\UI\WebControls\TRadioButton;
/**
* TActiveRadioButton class.
diff --git a/framework/Web/UI/ActiveControls/TActiveRadioButtonItem.php b/framework/Web/UI/ActiveControls/TActiveRadioButtonItem.php
index 32e14ff9..89fa9847 100644
--- a/framework/Web/UI/ActiveControls/TActiveRadioButtonItem.php
+++ b/framework/Web/UI/ActiveControls/TActiveRadioButtonItem.php
@@ -11,6 +11,8 @@
namespace Prado\Web\UI\ActiveControls;
+use Prado\Web\UI\WebControls\TRadioButton;
+
class TActiveRadioButtonItem extends TActiveRadioButton
{
/**
diff --git a/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php b/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php
index a96bc486..4a3d6b1f 100644
--- a/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php
+++ b/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php
@@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active control adapter and active radio button.
*/
+use Prado\Prado;
+use Prado\Web\UI\WebControls\TRadioButtonList;
+
Prado::using('System.Web.UI.ActiveControls.TActiveListControlAdapter');
Prado::using('System.Web.UI.ActiveControls.TActiveRadioButton');
diff --git a/framework/Web/UI/ActiveControls/TActiveRatingList.php b/framework/Web/UI/ActiveControls/TActiveRatingList.php
index e6e4be47..962ff9d5 100644
--- a/framework/Web/UI/ActiveControls/TActiveRatingList.php
+++ b/framework/Web/UI/ActiveControls/TActiveRatingList.php
@@ -11,6 +11,7 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Web\UI\WebControls\TRatingList;
/**
* TActiveRatingList Class
diff --git a/framework/Web/UI/ActiveControls/TActiveRepeater.php b/framework/Web/UI/ActiveControls/TActiveRepeater.php
index 770c6c0b..323d5743 100644
--- a/framework/Web/UI/ActiveControls/TActiveRepeater.php
+++ b/framework/Web/UI/ActiveControls/TActiveRepeater.php
@@ -8,6 +8,8 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Web\UI\ISurroundable;
+use Prado\Web\UI\WebControls\TRepeater;
/**
* TActiveRepeater class
diff --git a/framework/Web/UI/ActiveControls/TActiveTableCell.php b/framework/Web/UI/ActiveControls/TActiveTableCell.php
index 46da70bc..c0701a79 100644
--- a/framework/Web/UI/ActiveControls/TActiveTableCell.php
+++ b/framework/Web/UI/ActiveControls/TActiveTableCell.php
@@ -14,6 +14,11 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Includes the following used classes
*/
+use Prado\Exceptions\TConfigurationException;
+use Prado\Prado;
+use Prado\Web\UI\WebControls\TTableCell;
+use Prado\Web\UI\WebControls\TTableRow;
+
Prado::using('System.Web.UI.WebControls.TTableRow');
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
Prado::using('System.Web.UI.ActiveControls.TCallbackEventParameter');
diff --git a/framework/Web/UI/ActiveControls/TActiveTableRow.php b/framework/Web/UI/ActiveControls/TActiveTableRow.php
index d6f2c5dd..2547d48a 100644
--- a/framework/Web/UI/ActiveControls/TActiveTableRow.php
+++ b/framework/Web/UI/ActiveControls/TActiveTableRow.php
@@ -14,6 +14,11 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Includes the following used classes
*/
+use Prado\Exceptions\TConfigurationException;
+use Prado\Prado;
+use Prado\Web\UI\WebControls\TTable;
+use Prado\Web\UI\WebControls\TTableRow;
+
Prado::using('System.Web.UI.WebControls.TTableRow');
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
Prado::using('System.Web.UI.ActiveControls.TCallbackEventParameter');
diff --git a/framework/Web/UI/ActiveControls/TActiveTemplateColumn.php b/framework/Web/UI/ActiveControls/TActiveTemplateColumn.php
index a566ed34..c0a49b63 100644
--- a/framework/Web/UI/ActiveControls/TActiveTemplateColumn.php
+++ b/framework/Web/UI/ActiveControls/TActiveTemplateColumn.php
@@ -10,6 +10,10 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Prado;
+use Prado\Web\UI\WebControls\IItemDataRenderer;
+use Prado\Web\UI\WebControls\TDataGrid;
+use Prado\Web\UI\WebControls\TTemplateColumn;
/**
* TActiveTemplateColumn class
diff --git a/framework/Web/UI/ActiveControls/TActiveTextBox.php b/framework/Web/UI/ActiveControls/TActiveTextBox.php
index 8f78de88..15266529 100644
--- a/framework/Web/UI/ActiveControls/TActiveTextBox.php
+++ b/framework/Web/UI/ActiveControls/TActiveTextBox.php
@@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active control adapter.
*/
+use Prado\Prado;
+use Prado\Web\UI\WebControls\TTextBox;
+
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
/**
diff --git a/framework/Web/UI/ActiveControls/TAutoComplete.php b/framework/Web/UI/ActiveControls/TAutoComplete.php
index 4faffb01..ab120ebe 100644
--- a/framework/Web/UI/ActiveControls/TAutoComplete.php
+++ b/framework/Web/UI/ActiveControls/TAutoComplete.php
@@ -14,6 +14,11 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active text box.
*/
+use Prado\Prado;
+use Prado\TPropertyValue;
+use Prado\Web\UI\INamingContainer;
+use Prado\Web\UI\TTemplate;
+
Prado::using('System.Web.UI.ActiveControls.TActiveTextBox');
Prado::using('System.Web.UI.ActiveControls.TCallbackEventParameter');
diff --git a/framework/Web/UI/ActiveControls/TAutoCompleteTemplate.php b/framework/Web/UI/ActiveControls/TAutoCompleteTemplate.php
index 246bfaf3..f9784975 100644
--- a/framework/Web/UI/ActiveControls/TAutoCompleteTemplate.php
+++ b/framework/Web/UI/ActiveControls/TAutoCompleteTemplate.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Web\UI\ITemplate;
/**
* TAutoCompleteTemplate class.
diff --git a/framework/Web/UI/ActiveControls/TBaseActiveCallbackControl.php b/framework/Web/UI/ActiveControls/TBaseActiveCallbackControl.php
index 50af1694..ffe00098 100644
--- a/framework/Web/UI/ActiveControls/TBaseActiveCallbackControl.php
+++ b/framework/Web/UI/ActiveControls/TBaseActiveCallbackControl.php
@@ -10,6 +10,9 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Exceptions\TConfigurationException;
+use Prado\TPropertyValue;
+use Prado\Web\Javascripts\TJavaScript;
/**
* TBaseActiveCallbackControl is a common set of options and functionality for
diff --git a/framework/Web/UI/ActiveControls/TBaseActiveControl.php b/framework/Web/UI/ActiveControls/TBaseActiveControl.php
index 74adecc2..3bcf0d95 100644
--- a/framework/Web/UI/ActiveControls/TBaseActiveControl.php
+++ b/framework/Web/UI/ActiveControls/TBaseActiveControl.php
@@ -11,6 +11,11 @@
namespace Prado\Web\UI\ActiveControls;
+use Prado\Collections\TMap;
+use Prado\Prado;
+use Prado\TPropertyValue;
+use Prado\Web\UI\TControl;
+
Prado::using('System.Web.UI.ActiveControls.TCallbackClientSide');
/**
diff --git a/framework/Web/UI/ActiveControls/TCallback.php b/framework/Web/UI/ActiveControls/TCallback.php
index 204e45c2..c5e4db53 100644
--- a/framework/Web/UI/ActiveControls/TCallback.php
+++ b/framework/Web/UI/ActiveControls/TCallback.php
@@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active control adapter.
*/
+use Prado\Prado;
+use Prado\Web\UI\TControl;
+
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
/**
diff --git a/framework/Web/UI/ActiveControls/TCallbackClientScript.php b/framework/Web/UI/ActiveControls/TCallbackClientScript.php
index e8656792..c8e4c5de 100644
--- a/framework/Web/UI/ActiveControls/TCallbackClientScript.php
+++ b/framework/Web/UI/ActiveControls/TCallbackClientScript.php
@@ -10,6 +10,14 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Collections\TList;
+use Prado\TPropertyValue;
+use Prado\Web\UI\ISurroundable;
+use Prado\Web\UI\TControl;
+use Prado\Web\UI\THtmlWriter;
+use Prado\Web\UI\WebControls\TCheckBox;
+use Prado\Web\UI\WebControls\TCheckBoxList;
+use Prado\Web\UI\WebControls\TListControl;
/**
* TCallbackClientScript class.
diff --git a/framework/Web/UI/ActiveControls/TCallbackClientSide.php b/framework/Web/UI/ActiveControls/TCallbackClientSide.php
index f98657c3..158dc44b 100644
--- a/framework/Web/UI/ActiveControls/TCallbackClientSide.php
+++ b/framework/Web/UI/ActiveControls/TCallbackClientSide.php
@@ -10,6 +10,9 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\TPropertyValue;
+use Prado\Web\UI\TClientSideOptions;
+use Prado\Web\UI\TControl;
/**
* TCallbackClientSide class.
diff --git a/framework/Web/UI/ActiveControls/TCallbackErrorHandler.php b/framework/Web/UI/ActiveControls/TCallbackErrorHandler.php
index 479323a8..b7ea0ec4 100644
--- a/framework/Web/UI/ActiveControls/TCallbackErrorHandler.php
+++ b/framework/Web/UI/ActiveControls/TCallbackErrorHandler.php
@@ -11,6 +11,12 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Exception;
+use Prado\Exceptions\TErrorHandler;
+use Prado\Exceptions\TPhpErrorException;
+use Prado\Prado;
+use Prado\TApplication;
+use Prado\Web\Javascripts\TJavaScript;
/**
* TCallbackErrorHandler class.
diff --git a/framework/Web/UI/ActiveControls/TCallbackEventParameter.php b/framework/Web/UI/ActiveControls/TCallbackEventParameter.php
index 515051fb..0f35774c 100644
--- a/framework/Web/UI/ActiveControls/TCallbackEventParameter.php
+++ b/framework/Web/UI/ActiveControls/TCallbackEventParameter.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Web\THttpResponse;
/**
* TCallbackEventParameter class.
diff --git a/framework/Web/UI/ActiveControls/TCallbackOptions.php b/framework/Web/UI/ActiveControls/TCallbackOptions.php
index 04886508..196a2e54 100644
--- a/framework/Web/UI/ActiveControls/TCallbackOptions.php
+++ b/framework/Web/UI/ActiveControls/TCallbackOptions.php
@@ -10,6 +10,8 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Prado;
+use Prado\Web\UI\TControl;
/**
* TCallbackOptions class.
diff --git a/framework/Web/UI/ActiveControls/TCallbackPageStateTracker.php b/framework/Web/UI/ActiveControls/TCallbackPageStateTracker.php
index 4128fe34..7ec5331e 100644
--- a/framework/Web/UI/ActiveControls/TCallbackPageStateTracker.php
+++ b/framework/Web/UI/ActiveControls/TCallbackPageStateTracker.php
@@ -10,6 +10,8 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Collections\TMap;
+use stdClass;
/**
* TCallbackPageStateTracker class.
diff --git a/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php b/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php
index bb0589d9..8ca1d47d 100755
--- a/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php
+++ b/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Web\THttpResponseAdapter;
/**
* TCallbackResponseAdapter alters the THttpResponse's outputs.
diff --git a/framework/Web/UI/ActiveControls/TCallbackResponseWriter.php b/framework/Web/UI/ActiveControls/TCallbackResponseWriter.php
index aeb95ed0..f6b0df55 100644
--- a/framework/Web/UI/ActiveControls/TCallbackResponseWriter.php
+++ b/framework/Web/UI/ActiveControls/TCallbackResponseWriter.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\IO\TTextWriter;
/**
* TCallbackResponseWriter class.
diff --git a/framework/Web/UI/ActiveControls/TDraggable.php b/framework/Web/UI/ActiveControls/TDraggable.php
index 468562db..b4780eda 100755
--- a/framework/Web/UI/ActiveControls/TDraggable.php
+++ b/framework/Web/UI/ActiveControls/TDraggable.php
@@ -9,6 +9,9 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\TPropertyValue;
+use Prado\Web\Javascripts\TJavaScript;
+use Prado\Web\UI\WebControls\TPanel;
/**
* TDraggable is a control which can be dragged
diff --git a/framework/Web/UI/ActiveControls/TDropContainer.php b/framework/Web/UI/ActiveControls/TDropContainer.php
index 6d688501..161bfb8b 100755
--- a/framework/Web/UI/ActiveControls/TDropContainer.php
+++ b/framework/Web/UI/ActiveControls/TDropContainer.php
@@ -14,6 +14,10 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active control adapter.
*/
+use Prado\Prado;
+use Prado\TPropertyValue;
+use Prado\Web\UI\WebControls\TPanel;
+
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
/**
* Load active panel.
diff --git a/framework/Web/UI/ActiveControls/TDropContainerEventParameter.php b/framework/Web/UI/ActiveControls/TDropContainerEventParameter.php
index 5844e3cd..3f097b91 100644
--- a/framework/Web/UI/ActiveControls/TDropContainerEventParameter.php
+++ b/framework/Web/UI/ActiveControls/TDropContainerEventParameter.php
@@ -10,6 +10,10 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Prado;
+use Prado\TPropertyValue;
+use Prado\Web\Services\TPageService;
+use Prado\Web\UI\TControl;
/**
* TDropContainerEventParameter class
diff --git a/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php b/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php
index 26c022a9..c4271c25 100644
--- a/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php
+++ b/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php
@@ -11,6 +11,9 @@
namespace Prado\Web\UI\ActiveControls;
+use Prado\Prado;
+use Prado\TPropertyValue;
+
Prado::using('System.Web.UI.ActiveControls.TTriggeredCallback');
/**
diff --git a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php
index 899cf3f8..83c7e825 100644
--- a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php
+++ b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php
@@ -11,6 +11,11 @@
namespace Prado\Web\UI\ActiveControls;
+use Prado\Prado;
+use Prado\TPropertyValue;
+use Prado\Web\UI\WebControls\TTextBox;
+use Prado\Web\UI\WebControls\TWebControl;
+
Prado::using('System.Web.UI.ActiveControls.TActiveTextBox');
/**
diff --git a/framework/Web/UI/ActiveControls/TInvalidCallbackException.php b/framework/Web/UI/ActiveControls/TInvalidCallbackException.php
index 432b7ed6..80a932a8 100644
--- a/framework/Web/UI/ActiveControls/TInvalidCallbackException.php
+++ b/framework/Web/UI/ActiveControls/TInvalidCallbackException.php
@@ -11,6 +11,7 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Exceptions\TException;
/**
* TInvalidCallbackException class.
diff --git a/framework/Web/UI/ActiveControls/TStyleDiff.php b/framework/Web/UI/ActiveControls/TStyleDiff.php
index 496a5883..a7b707e0 100644
--- a/framework/Web/UI/ActiveControls/TStyleDiff.php
+++ b/framework/Web/UI/ActiveControls/TStyleDiff.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\ActiveControls;
+use Prado\Web\UI\WebControls\TStyle;
/**
* TStyleDiff class.
diff --git a/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php b/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php
index 02b4fc01..95696c86 100644
--- a/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php
+++ b/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php
@@ -14,6 +14,10 @@ namespace Prado\Web\UI\ActiveControls;
/**
* Load active callback control.
*/
+use Prado\Exceptions\TConfigurationException;
+use Prado\Prado;
+use Prado\TPropertyValue;
+
Prado::using('System.Web.UI.ActiveControls.TCallback');
/**
diff --git a/framework/Web/UI/ActiveControls/TTriggeredCallback.php b/framework/Web/UI/ActiveControls/TTriggeredCallback.php
index 5c677456..21c86e55 100644
--- a/framework/Web/UI/ActiveControls/TTriggeredCallback.php
+++ b/framework/Web/UI/ActiveControls/TTriggeredCallback.php
@@ -11,6 +11,10 @@
namespace Prado\Web\UI\ActiveControls;
+use Prado\Exceptions\TConfigurationException;
+use Prado\Prado;
+use Prado\Web\UI\TControl;
+
Prado::using('System.Web.UI.ActiveControls.TCallback');
/**
* TTriggeredCallback abstract Class
diff --git a/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php b/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php
index 8fca817e..04c499a4 100644
--- a/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php
+++ b/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php
@@ -11,6 +11,10 @@
namespace Prado\Web\UI\ActiveControls;
+use Prado\Exceptions\TConfigurationException;
+use Prado\Prado;
+use Prado\TPropertyValue;
+
Prado::using('System.Web.UI.ActiveControls.TTriggeredCallback');
/**
diff --git a/framework/Web/UI/JuiControls/TJuiAutoComplete.php b/framework/Web/UI/JuiControls/TJuiAutoComplete.php
index 224eb306..3145180f 100644
--- a/framework/Web/UI/JuiControls/TJuiAutoComplete.php
+++ b/framework/Web/UI/JuiControls/TJuiAutoComplete.php
@@ -14,6 +14,13 @@ namespace Prado\Web\UI\JuiControls;
/**
* Load active text box.
*/
+use Prado\IO\TTextWriter;
+use Prado\Prado;
+use Prado\TPropertyValue;
+use Prado\Web\UI\ActiveControls\TActiveTextBox;
+use Prado\Web\UI\INamingContainer;
+use Prado\Web\UI\TTemplate;
+
Prado::using('System.Web.UI.ActiveControls.TActiveTextBox');
Prado::using('System.Web.UI.ActiveControls.TCallbackEventParameter');
Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter');
diff --git a/framework/Web/UI/JuiControls/TJuiAutoCompleteEventParameter.php b/framework/Web/UI/JuiControls/TJuiAutoCompleteEventParameter.php
index f404ac9a..df50e9bc 100644
--- a/framework/Web/UI/JuiControls/TJuiAutoCompleteEventParameter.php
+++ b/framework/Web/UI/JuiControls/TJuiAutoCompleteEventParameter.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\JuiControls;
+use Prado\Web\UI\ActiveControls\TCallbackEventParameter;
/**
* TJuiAutoCompleteEventParameter contains the {@link getToken Token} requested by
diff --git a/framework/Web/UI/JuiControls/TJuiAutoCompleteTemplate.php b/framework/Web/UI/JuiControls/TJuiAutoCompleteTemplate.php
index 56c953fd..242e2114 100644
--- a/framework/Web/UI/JuiControls/TJuiAutoCompleteTemplate.php
+++ b/framework/Web/UI/JuiControls/TJuiAutoCompleteTemplate.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\JuiControls;
+use Prado\Web\UI\ITemplate;
/**
* TJuiAutoCompleteTemplate class.
diff --git a/framework/Web/UI/JuiControls/TJuiControlAdapter.php b/framework/Web/UI/JuiControls/TJuiControlAdapter.php
index 301d424d..e1b03afe 100644
--- a/framework/Web/UI/JuiControls/TJuiControlAdapter.php
+++ b/framework/Web/UI/JuiControls/TJuiControlAdapter.php
@@ -11,6 +11,9 @@
namespace Prado\Web\UI\JuiControls;
+use Prado\Prado;
+use Prado\Web\UI\ActiveControls\TActiveControlAdapter;
+
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
/**
diff --git a/framework/Web/UI/JuiControls/TJuiControlOptions.php b/framework/Web/UI/JuiControls/TJuiControlOptions.php
index cc065fe5..2836c5ec 100644
--- a/framework/Web/UI/JuiControls/TJuiControlOptions.php
+++ b/framework/Web/UI/JuiControls/TJuiControlOptions.php
@@ -10,6 +10,11 @@
*/
namespace Prado\Web\UI\JuiControls;
+use Prado\Collections\TMap;
+use Prado\Exceptions\THttpException;
+use Prado\Web\Javascripts\TJavaScript;
+use Prado\Web\Javascripts\TJavaScriptLiteral;
+use Prado\Web\UI\TControl;
/**
* TJuiControlOptions interface
diff --git a/framework/Web/UI/JuiControls/TJuiDraggable.php b/framework/Web/UI/JuiControls/TJuiDraggable.php
index a875557f..86e5d69c 100644
--- a/framework/Web/UI/JuiControls/TJuiDraggable.php
+++ b/framework/Web/UI/JuiControls/TJuiDraggable.php
@@ -11,6 +11,11 @@
namespace Prado\Web\UI\JuiControls;
+use Prado\Prado;
+use Prado\Web\Javascripts\TJavaScript;
+use Prado\Web\UI\ActiveControls\ICallbackEventHandler;
+use Prado\Web\UI\ActiveControls\TActivePanel;
+
Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter');
Prado::using('System.Web.UI.ActiveControls.TActivePanel');
diff --git a/framework/Web/UI/JuiControls/TJuiDroppable.php b/framework/Web/UI/JuiControls/TJuiDroppable.php
index 1d51438c..cec07885 100644
--- a/framework/Web/UI/JuiControls/TJuiDroppable.php
+++ b/framework/Web/UI/JuiControls/TJuiDroppable.php
@@ -11,6 +11,11 @@
namespace Prado\Web\UI\JuiControls;
+use Prado\Prado;
+use Prado\Web\Javascripts\TJavaScript;
+use Prado\Web\UI\ActiveControls\ICallbackEventHandler;
+use Prado\Web\UI\ActiveControls\TActivePanel;
+
Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter');
Prado::using('System.Web.UI.ActiveControls.TActivePanel');
diff --git a/framework/Web/UI/JuiControls/TJuiEventParameter.php b/framework/Web/UI/JuiControls/TJuiEventParameter.php
index 87ed0d84..5ec578b6 100644
--- a/framework/Web/UI/JuiControls/TJuiEventParameter.php
+++ b/framework/Web/UI/JuiControls/TJuiEventParameter.php
@@ -10,6 +10,10 @@
*/
namespace Prado\Web\UI\JuiControls;
+use Prado\Prado;
+use Prado\Web\Services\TPageService;
+use Prado\Web\UI\ActiveControls\TCallbackEventParameter;
+use Prado\Web\UI\TControl;
/**
* TJuiEventParameter class
diff --git a/framework/Web/UI/JuiControls/TJuiProgressbar.php b/framework/Web/UI/JuiControls/TJuiProgressbar.php
index a4779a1f..8379869a 100644
--- a/framework/Web/UI/JuiControls/TJuiProgressbar.php
+++ b/framework/Web/UI/JuiControls/TJuiProgressbar.php
@@ -11,6 +11,11 @@
namespace Prado\Web\UI\JuiControls;
+use Prado\Prado;
+use Prado\Web\Javascripts\TJavaScript;
+use Prado\Web\UI\ActiveControls\ICallbackEventHandler;
+use Prado\Web\UI\ActiveControls\TActivePanel;
+
Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter');
Prado::using('System.Web.UI.ActiveControls.TActivePanel');
diff --git a/framework/Web/UI/JuiControls/TJuiResizable.php b/framework/Web/UI/JuiControls/TJuiResizable.php
index 54add982..bae005be 100644
--- a/framework/Web/UI/JuiControls/TJuiResizable.php
+++ b/framework/Web/UI/JuiControls/TJuiResizable.php
@@ -11,6 +11,11 @@
namespace Prado\Web\UI\JuiControls;
+use Prado\Prado;
+use Prado\Web\Javascripts\TJavaScript;
+use Prado\Web\UI\ActiveControls\ICallbackEventHandler;
+use Prado\Web\UI\ActiveControls\TActivePanel;
+
Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter');
Prado::using('System.Web.UI.ActiveControls.TActivePanel');
diff --git a/framework/Web/UI/JuiControls/TJuiSelectable.php b/framework/Web/UI/JuiControls/TJuiSelectable.php
index 11376da8..06d251f6 100644
--- a/framework/Web/UI/JuiControls/TJuiSelectable.php
+++ b/framework/Web/UI/JuiControls/TJuiSelectable.php
@@ -11,6 +11,13 @@
namespace Prado\Web\UI\JuiControls;
+use Prado\Prado;
+use Prado\Web\Javascripts\TJavaScript;
+use Prado\Web\Javascripts\TJavaScriptLiteral;
+use Prado\Web\UI\ActiveControls\ICallbackEventHandler;
+use Prado\Web\UI\ActiveControls\TActivePanel;
+use Prado\Web\UI\TTemplate;
+
Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter');
Prado::using('System.Web.UI.ActiveControls.TActivePanel');
diff --git a/framework/Web/UI/JuiControls/TJuiSelectableTemplate.php b/framework/Web/UI/JuiControls/TJuiSelectableTemplate.php
index 723462a9..f7dfed3b 100644
--- a/framework/Web/UI/JuiControls/TJuiSelectableTemplate.php
+++ b/framework/Web/UI/JuiControls/TJuiSelectableTemplate.php
@@ -10,6 +10,8 @@
*/
namespace Prado\Web\UI\JuiControls;
+use Prado\Web\UI\ITemplate;
+use Prado\Web\UI\ITemplate;
/**
* TJuiSelectableTemplate class.
diff --git a/framework/Web/UI/JuiControls/TJuiSortable.php b/framework/Web/UI/JuiControls/TJuiSortable.php
index 9072a72d..edfb68c0 100644
--- a/framework/Web/UI/JuiControls/TJuiSortable.php
+++ b/framework/Web/UI/JuiControls/TJuiSortable.php
@@ -11,6 +11,13 @@
namespace Prado\Web\UI\JuiControls;
+use Prado\Prado;
+use Prado\Web\Javascripts\TJavaScript;
+use Prado\Web\Javascripts\TJavaScriptLiteral;
+use Prado\Web\UI\ActiveControls\ICallbackEventHandler;
+use Prado\Web\UI\ActiveControls\TActivePanel;
+use Prado\Web\UI\TTemplate;
+
Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter');
Prado::using('System.Web.UI.ActiveControls.TActivePanel');
diff --git a/framework/Web/UI/JuiControls/TJuiSortableTemplate.php b/framework/Web/UI/JuiControls/TJuiSortableTemplate.php
index 121a2bdc..991c2d0c 100644
--- a/framework/Web/UI/JuiControls/TJuiSortableTemplate.php
+++ b/framework/Web/UI/JuiControls/TJuiSortableTemplate.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\JuiControls;
+use Prado\Web\UI\ITemplate;
/**
* TJuiSortableTemplate class.
diff --git a/framework/Web/UI/TCachePageStatePersister.php b/framework/Web/UI/TCachePageStatePersister.php
index 53dd5916..56dabe62 100644
--- a/framework/Web/UI/TCachePageStatePersister.php
+++ b/framework/Web/UI/TCachePageStatePersister.php
@@ -15,6 +15,7 @@ use Prado\Prado;
use Prado\Exceptions\TConfigurationException;
use Prado\Exceptions\THttpException;
use Prado\Exceptions\TInvalidDataValueException;
+use Prado\TPropertyValue;
/**
* TCachePageStatePersister class
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php
index 99096311..a34d7583 100644
--- a/framework/Web/UI/TControl.php
+++ b/framework/Web/UI/TControl.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI;
+use Exception;
use Prado\Exceptions\TInvalidDataValueException;
use Prado\Exceptions\TInvalidOperationException;
use Prado\Prado;
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php
index 796d71cd..e768f900 100644
--- a/framework/Web/UI/TPage.php
+++ b/framework/Web/UI/TPage.php
@@ -13,6 +13,7 @@ namespace Prado\Web\UI;
use Prado\Collections\TList;
use Prado\Collections\TMap;
use Prado\Collections\TStack;
+use Prado\Data\ActiveRecord\TActiveRecord;
use Prado\Exceptions\TConfigurationException;
use Prado\Exceptions\THttpException;
use Prado\Exceptions\TInvalidDataValueException;
@@ -20,6 +21,7 @@ use Prado\Exceptions\TInvalidDataTypeException;
use Prado\Exceptions\TInvalidOperationException;
use Prado\Prado;
use Prado\TPropertyValue;
+use Prado\Web\Javascripts\TJavaScript;
use Prado\Web\UI\ActiveControls\TActivePageAdapter;
use Prado\Web\UI\ActiveControls\TCallbackClientScript;
use Prado\Web\UI\WebControls\THead;
diff --git a/framework/Web/UI/TTemplateManager.php b/framework/Web/UI/TTemplateManager.php
index 31f7c56d..a56b89a1 100644
--- a/framework/Web/UI/TTemplateManager.php
+++ b/framework/Web/UI/TTemplateManager.php
@@ -11,6 +11,7 @@
namespace Prado\Web\UI;
use Prado\Prado;
+use Prado\TApplicationMode;
/**
* TTemplateManager class
diff --git a/framework/Web/UI/WebControls/TAccordion.php b/framework/Web/UI/WebControls/TAccordion.php
index e615324a..eee0ad65 100644
--- a/framework/Web/UI/WebControls/TAccordion.php
+++ b/framework/Web/UI/WebControls/TAccordion.php
@@ -11,6 +11,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TInvalidOperationException;
use Prado\TPropertyValue;
use Prado\Exceptions\TInvalidDataValueException;
use Prado\Web\Javascripts\TJavaScript;
diff --git a/framework/Web/UI/WebControls/TBaseDataList.php b/framework/Web/UI/WebControls/TBaseDataList.php
index 7d6a21bf..717a2feb 100644
--- a/framework/Web/UI/WebControls/TBaseDataList.php
+++ b/framework/Web/UI/WebControls/TBaseDataList.php
@@ -10,6 +10,8 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Collections\TList;
+use Prado\Util\TDataFieldAccessor;
/**
* TBaseDataList class
diff --git a/framework/Web/UI/WebControls/TBaseValidator.php b/framework/Web/UI/WebControls/TBaseValidator.php
index 43834246..f89165b7 100644
--- a/framework/Web/UI/WebControls/TBaseValidator.php
+++ b/framework/Web/UI/WebControls/TBaseValidator.php
@@ -10,9 +10,12 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TConfigurationException;
+use Prado\Exceptions\TNotSupportedException;
use Prado\TPropertyValue;
use Prado\Exceptions\TInvalidDataTypeException;
use Prado\Web\Javascripts\TJavaScript;
+use Prado\Web\UI\IValidator;
/**
* TBaseValidator class
diff --git a/framework/Web/UI/WebControls/TBoundColumn.php b/framework/Web/UI/WebControls/TBoundColumn.php
index 36b9a143..37ad3262 100644
--- a/framework/Web/UI/WebControls/TBoundColumn.php
+++ b/framework/Web/UI/WebControls/TBoundColumn.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Prado;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/TBulletedList.php b/framework/Web/UI/WebControls/TBulletedList.php
index 31df8afd..784ff94a 100644
--- a/framework/Web/UI/WebControls/TBulletedList.php
+++ b/framework/Web/UI/WebControls/TBulletedList.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TNotSupportedException;
use Prado\TPropertyValue;
use Prado\Web\THttpUtility;
diff --git a/framework/Web/UI/WebControls/TCaptcha.php b/framework/Web/UI/WebControls/TCaptcha.php
index 33ab6b9b..5e666d3f 100644
--- a/framework/Web/UI/WebControls/TCaptcha.php
+++ b/framework/Web/UI/WebControls/TCaptcha.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TConfigurationException;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/TCaptchaValidator.php b/framework/Web/UI/WebControls/TCaptchaValidator.php
index e2c44f9b..148cb627 100644
--- a/framework/Web/UI/WebControls/TCaptchaValidator.php
+++ b/framework/Web/UI/WebControls/TCaptchaValidator.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TConfigurationException;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/TCheckBox.php b/framework/Web/UI/WebControls/TCheckBox.php
index f9f451c3..1ff69ba6 100644
--- a/framework/Web/UI/WebControls/TCheckBox.php
+++ b/framework/Web/UI/WebControls/TCheckBox.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Collections\TAttributeCollection;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/TCheckBoxList.php b/framework/Web/UI/WebControls/TCheckBoxList.php
index d680ec77..533ac527 100644
--- a/framework/Web/UI/WebControls/TCheckBoxList.php
+++ b/framework/Web/UI/WebControls/TCheckBoxList.php
@@ -11,6 +11,7 @@
namespace Prado\Web\UI\WebControls;
use Prado\TPropertyValue;
+use Prado\Web\UI\ActiveControls\IActiveControl;
/**
* TCheckBoxList class
diff --git a/framework/Web/UI/WebControls/TClientSideValidationSummaryOptions.php b/framework/Web/UI/WebControls/TClientSideValidationSummaryOptions.php
index f0090b87..3bbec73d 100644
--- a/framework/Web/UI/WebControls/TClientSideValidationSummaryOptions.php
+++ b/framework/Web/UI/WebControls/TClientSideValidationSummaryOptions.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Web\UI\TClientSideOptions;
/**
* TClientSideValidationSummaryOptions class.
diff --git a/framework/Web/UI/WebControls/TCompareValidator.php b/framework/Web/UI/WebControls/TCompareValidator.php
index a62ab5d1..a4c44e82 100644
--- a/framework/Web/UI/WebControls/TCompareValidator.php
+++ b/framework/Web/UI/WebControls/TCompareValidator.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Prado;
use Prado\TPropertyValue;
use Prado\Exceptions\TInvalidDataValueException;
diff --git a/framework/Web/UI/WebControls/TCompleteWizardStep.php b/framework/Web/UI/WebControls/TCompleteWizardStep.php
index 895e2046..073ac3d2 100644
--- a/framework/Web/UI/WebControls/TCompleteWizardStep.php
+++ b/framework/Web/UI/WebControls/TCompleteWizardStep.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TInvalidOperationException;
/**
* TCompleteWizardStep class.
diff --git a/framework/Web/UI/WebControls/TConditional.php b/framework/Web/UI/WebControls/TConditional.php
index 1a88c0a7..e4c08ef2 100644
--- a/framework/Web/UI/WebControls/TConditional.php
+++ b/framework/Web/UI/WebControls/TConditional.php
@@ -12,6 +12,7 @@
namespace Prado\Web\UI\WebControls;
use Prado\TPropertyValue;
use Prado\Exceptions\TInvalidDataValueException;
+use Prado\Web\UI\ITemplate;
/**
* TConditional class.
diff --git a/framework/Web/UI/WebControls/TContent.php b/framework/Web/UI/WebControls/TContent.php
index e75b6b81..a06463e6 100644
--- a/framework/Web/UI/WebControls/TContent.php
+++ b/framework/Web/UI/WebControls/TContent.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TConfigurationException;
use Prado\Web\UI\TControl;
use Prado\Web\UI\INamingContainer;
diff --git a/framework/Web/UI/WebControls/TContentPlaceHolder.php b/framework/Web/UI/WebControls/TContentPlaceHolder.php
index 380a33fd..af50a8ce 100644
--- a/framework/Web/UI/WebControls/TContentPlaceHolder.php
+++ b/framework/Web/UI/WebControls/TContentPlaceHolder.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TConfigurationException;
/**
* TContentPlaceHolder class
diff --git a/framework/Web/UI/WebControls/TDataBoundControl.php b/framework/Web/UI/WebControls/TDataBoundControl.php
index bf3778cf..b12fcf35 100644
--- a/framework/Web/UI/WebControls/TDataBoundControl.php
+++ b/framework/Web/UI/WebControls/TDataBoundControl.php
@@ -10,6 +10,8 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Collections\TPagedDataSource;
+use Prado\Data\TDbDataReader;
use Prado\TPropertyValue;
use Prado\Exceptions\TInvalidDataValueException;
use Prado\Exceptions\TInvalidDataTypeException;
diff --git a/framework/Web/UI/WebControls/TDataGrid.php b/framework/Web/UI/WebControls/TDataGrid.php
index 56bb5fa2..d8c29ddd 100644
--- a/framework/Web/UI/WebControls/TDataGrid.php
+++ b/framework/Web/UI/WebControls/TDataGrid.php
@@ -15,8 +15,11 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Collections\TList;
+use Prado\Collections\TPagedDataSource;
use Prado\TPropertyValue;
use Prado\Exceptions\TInvalidDataTypeException;
+use Prado\Web\UI\ITemplate;
/**
* TDataGrid class
diff --git a/framework/Web/UI/WebControls/TDataGridColumn.php b/framework/Web/UI/WebControls/TDataGridColumn.php
index 0617782b..04cdf940 100644
--- a/framework/Web/UI/WebControls/TDataGridColumn.php
+++ b/framework/Web/UI/WebControls/TDataGridColumn.php
@@ -10,8 +10,12 @@
*/
namespace Prado\Web\UI\WebControls;
+use Exception;
+use Prado\Prado;
use Prado\TPropertyValue;
use Prado\Exceptions\TInvalidDataValueException;
+use Prado\Util\TDataFieldAccessor;
+use Prado\Web\UI\TControl;
/**
* TDataGridColumn class
diff --git a/framework/Web/UI/WebControls/TDataGridColumnCollection.php b/framework/Web/UI/WebControls/TDataGridColumnCollection.php
index e38bfef0..aa8c8c69 100644
--- a/framework/Web/UI/WebControls/TDataGridColumnCollection.php
+++ b/framework/Web/UI/WebControls/TDataGridColumnCollection.php
@@ -16,6 +16,7 @@
namespace Prado\Web\UI\WebControls;
use Prado\Exceptions\TInvalidDataTypeException;
+use Prado\Web\UI\TControl;
/**
* TDataGridColumnCollection class.
diff --git a/framework/Web/UI/WebControls/TDataList.php b/framework/Web/UI/WebControls/TDataList.php
index 1b1a3bfd..809ac9ba 100644
--- a/framework/Web/UI/WebControls/TDataList.php
+++ b/framework/Web/UI/WebControls/TDataList.php
@@ -10,9 +10,12 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TInvalidOperationException;
+use Prado\Prado;
use Prado\TPropertyValue;
use Prado\Exceptions\TInvalidDataValueException;
use Prado\Exceptions\TInvalidDataTypeException;
+use Prado\Web\UI\ITemplate;
/**
* TDataList class
diff --git a/framework/Web/UI/WebControls/TDataListCommandEventParameter.php b/framework/Web/UI/WebControls/TDataListCommandEventParameter.php
index 9c308521..0984392c 100644
--- a/framework/Web/UI/WebControls/TDataListCommandEventParameter.php
+++ b/framework/Web/UI/WebControls/TDataListCommandEventParameter.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Web\UI\TControl;
/**
* TDataListCommandEventParameter class
diff --git a/framework/Web/UI/WebControls/TDataListItemCollection.php b/framework/Web/UI/WebControls/TDataListItemCollection.php
index 3015e5e7..15c8a020 100644
--- a/framework/Web/UI/WebControls/TDataListItemCollection.php
+++ b/framework/Web/UI/WebControls/TDataListItemCollection.php
@@ -11,6 +11,7 @@
namespace Prado\Web\UI\WebControls;
use Prado\Exceptions\TInvalidDataTypeException;
+use Prado\Web\UI\TControl;
/**
* TDataListItemCollection class.
diff --git a/framework/Web/UI/WebControls/TDataListItemEventParameter.php b/framework/Web/UI/WebControls/TDataListItemEventParameter.php
index f023db3b..79463e50 100644
--- a/framework/Web/UI/WebControls/TDataListItemEventParameter.php
+++ b/framework/Web/UI/WebControls/TDataListItemEventParameter.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Web\UI\TControl;
/**
* TDataListItemEventParameter class
diff --git a/framework/Web/UI/WebControls/TDataRenderer.php b/framework/Web/UI/WebControls/TDataRenderer.php
index 32c10d8a..2ec825d6 100644
--- a/framework/Web/UI/WebControls/TDataRenderer.php
+++ b/framework/Web/UI/WebControls/TDataRenderer.php
@@ -11,6 +11,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Web\UI\TTemplateControl;
/**
* TDataRenderer class
diff --git a/framework/Web/UI/WebControls/TDataSourceControl.php b/framework/Web/UI/WebControls/TDataSourceControl.php
index e4a405c2..731fda96 100644
--- a/framework/Web/UI/WebControls/TDataSourceControl.php
+++ b/framework/Web/UI/WebControls/TDataSourceControl.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TNotSupportedException;
/**
* TDataSourceControl class
diff --git a/framework/Web/UI/WebControls/TDataSourceView.php b/framework/Web/UI/WebControls/TDataSourceView.php
index 251bf572..eb76b542 100644
--- a/framework/Web/UI/WebControls/TDataSourceView.php
+++ b/framework/Web/UI/WebControls/TDataSourceView.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TNotSupportedException;
/**
* TDataSourceView class
diff --git a/framework/Web/UI/WebControls/TDataTypeValidator.php b/framework/Web/UI/WebControls/TDataTypeValidator.php
index 4ff2f89b..4d4b5919 100644
--- a/framework/Web/UI/WebControls/TDataTypeValidator.php
+++ b/framework/Web/UI/WebControls/TDataTypeValidator.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Prado;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/TDatePicker.php b/framework/Web/UI/WebControls/TDatePicker.php
index d88eb38a..5483b6b2 100644
--- a/framework/Web/UI/WebControls/TDatePicker.php
+++ b/framework/Web/UI/WebControls/TDatePicker.php
@@ -10,8 +10,11 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TNotSupportedException;
+use Prado\Prado;
use Prado\TPropertyValue;
use Prado\Web\Javascripts\TJavaScript;
+use Prado\Web\UI\TControl;
/**
*
diff --git a/framework/Web/UI/WebControls/TDatePickerClientScript.php b/framework/Web/UI/WebControls/TDatePickerClientScript.php
index 6be4b596..881b3d41 100644
--- a/framework/Web/UI/WebControls/TDatePickerClientScript.php
+++ b/framework/Web/UI/WebControls/TDatePickerClientScript.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Web\UI\TClientSideOptions;
/**
* TDatePickerClientScript class.
diff --git a/framework/Web/UI/WebControls/TDropDownList.php b/framework/Web/UI/WebControls/TDropDownList.php
index cc1a7a9f..9ae3085f 100644
--- a/framework/Web/UI/WebControls/TDropDownList.php
+++ b/framework/Web/UI/WebControls/TDropDownList.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TNotSupportedException;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/TEditCommandColumn.php b/framework/Web/UI/WebControls/TEditCommandColumn.php
index 07eec55b..48fff83c 100644
--- a/framework/Web/UI/WebControls/TEditCommandColumn.php
+++ b/framework/Web/UI/WebControls/TEditCommandColumn.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Prado;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/THiddenField.php b/framework/Web/UI/WebControls/THiddenField.php
index b9138e7c..f73cf61a 100644
--- a/framework/Web/UI/WebControls/THiddenField.php
+++ b/framework/Web/UI/WebControls/THiddenField.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TNotSupportedException;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/THotSpot.php b/framework/Web/UI/WebControls/THotSpot.php
index fe267a75..1d2624f2 100644
--- a/framework/Web/UI/WebControls/THotSpot.php
+++ b/framework/Web/UI/WebControls/THotSpot.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Collections\TAttributeCollection;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/THtmlArea.php b/framework/Web/UI/WebControls/THtmlArea.php
index 3856cdb1..b1ca7119 100644
--- a/framework/Web/UI/WebControls/THtmlArea.php
+++ b/framework/Web/UI/WebControls/THtmlArea.php
@@ -10,6 +10,10 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TConfigurationException;
+use Prado\Exceptions\TInvalidOperationException;
+use Prado\Prado;
+use Prado\TApplicationMode;
use Prado\TPropertyValue;
use Prado\Web\Javascripts\TJavaScript;
diff --git a/framework/Web/UI/WebControls/THtmlArea4.php b/framework/Web/UI/WebControls/THtmlArea4.php
index c5410ffd..e81e624e 100644
--- a/framework/Web/UI/WebControls/THtmlArea4.php
+++ b/framework/Web/UI/WebControls/THtmlArea4.php
@@ -10,6 +10,9 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TInvalidOperationException;
+use Prado\Prado;
+use Prado\TApplicationMode;
use Prado\TPropertyValue;
use Prado\Web\Javascripts\TJavaScript;
diff --git a/framework/Web/UI/WebControls/THyperLink.php b/framework/Web/UI/WebControls/THyperLink.php
index f265e722..3c73503f 100644
--- a/framework/Web/UI/WebControls/THyperLink.php
+++ b/framework/Web/UI/WebControls/THyperLink.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Prado;
use Prado\Web\THttpUtility;
/**
diff --git a/framework/Web/UI/WebControls/TImageButton.php b/framework/Web/UI/WebControls/TImageButton.php
index 0a0b7ec7..e1c89157 100644
--- a/framework/Web/UI/WebControls/TImageButton.php
+++ b/framework/Web/UI/WebControls/TImageButton.php
@@ -11,6 +11,7 @@
namespace Prado\Web\UI\WebControls;
use Prado\TPropertyValue;
+use Prado\Web\UI\IPostBackEventHandler;
/**
* TImageButton class
diff --git a/framework/Web/UI/WebControls/TKeyboard.php b/framework/Web/UI/WebControls/TKeyboard.php
index 2aeb9d9e..edb9fe64 100644
--- a/framework/Web/UI/WebControls/TKeyboard.php
+++ b/framework/Web/UI/WebControls/TKeyboard.php
@@ -11,6 +11,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TConfigurationException;
use Prado\TPropertyValue;
use Prado\Web\Javascripts\TJavaScript;
diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php
index dac9a196..f784702d 100644
--- a/framework/Web/UI/WebControls/TListControl.php
+++ b/framework/Web/UI/WebControls/TListControl.php
@@ -11,7 +11,10 @@
*/
namespace Prado\Web\UI\WebControls;
+use Exception;
+use Prado\Exceptions\TNotSupportedException;
use Prado\TPropertyValue;
+use Prado\Util\TDataFieldAccessor;
use Prado\Web\THttpUtility;
use Prado\Exceptions\TInvalidDataValueException;
diff --git a/framework/Web/UI/WebControls/TListControlValidator.php b/framework/Web/UI/WebControls/TListControlValidator.php
index 41c5636e..3198f147 100644
--- a/framework/Web/UI/WebControls/TListControlValidator.php
+++ b/framework/Web/UI/WebControls/TListControlValidator.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TConfigurationException;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/TListItem.php b/framework/Web/UI/WebControls/TListItem.php
index 9e93b338..ec6be866 100644
--- a/framework/Web/UI/WebControls/TListItem.php
+++ b/framework/Web/UI/WebControls/TListItem.php
@@ -10,6 +10,8 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Collections\TAttributeCollection;
+use Prado\Collections\TMap;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/TLiteral.php b/framework/Web/UI/WebControls/TLiteral.php
index dc15ad0c..874512a1 100644
--- a/framework/Web/UI/WebControls/TLiteral.php
+++ b/framework/Web/UI/WebControls/TLiteral.php
@@ -11,6 +11,7 @@
namespace Prado\Web\UI\WebControls;
use Prado\TPropertyValue;
+use Prado\Web\THttpUtility;
/**
* TLiteral class
diff --git a/framework/Web/UI/WebControls/TMarkdown.php b/framework/Web/UI/WebControls/TMarkdown.php
index 8d234820..a4a49648 100644
--- a/framework/Web/UI/WebControls/TMarkdown.php
+++ b/framework/Web/UI/WebControls/TMarkdown.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Parsedown;
/**
* TMarkdown class
diff --git a/framework/Web/UI/WebControls/TMultiView.php b/framework/Web/UI/WebControls/TMultiView.php
index b3995c3e..0c6b3d7b 100644
--- a/framework/Web/UI/WebControls/TMultiView.php
+++ b/framework/Web/UI/WebControls/TMultiView.php
@@ -10,8 +10,11 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TConfigurationException;
+use Prado\Exceptions\TInvalidOperationException;
use Prado\TPropertyValue;
use Prado\Exceptions\TInvalidDataValueException;
+use Prado\Web\UI\TControl;
/**
* TMultiView class
diff --git a/framework/Web/UI/WebControls/TOutputCache.php b/framework/Web/UI/WebControls/TOutputCache.php
index 8ff22157..1a7785d0 100644
--- a/framework/Web/UI/WebControls/TOutputCache.php
+++ b/framework/Web/UI/WebControls/TOutputCache.php
@@ -10,6 +10,10 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Caching\ICache;
+use Prado\Exceptions\TConfigurationException;
+use Prado\IO\TTextWriter;
+use Prado\Prado;
use Prado\TPropertyValue;
use Prado\Exceptions\TInvalidDataValueException;
diff --git a/framework/Web/UI/WebControls/TOutputCacheTextWriterMulti.php b/framework/Web/UI/WebControls/TOutputCacheTextWriterMulti.php
index 52bbf772..14809f43 100644
--- a/framework/Web/UI/WebControls/TOutputCacheTextWriterMulti.php
+++ b/framework/Web/UI/WebControls/TOutputCacheTextWriterMulti.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\IO\TTextWriter;
/**
* TOutputCacheTextWriterMulti class
diff --git a/framework/Web/UI/WebControls/TPager.php b/framework/Web/UI/WebControls/TPager.php
index aa7cda29..2a37021f 100644
--- a/framework/Web/UI/WebControls/TPager.php
+++ b/framework/Web/UI/WebControls/TPager.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TConfigurationException;
use Prado\TPropertyValue;
use Prado\Exceptions\TInvalidDataValueException;
diff --git a/framework/Web/UI/WebControls/TPagerPageChangedEventParameter.php b/framework/Web/UI/WebControls/TPagerPageChangedEventParameter.php
index 53d46289..9343fc71 100644
--- a/framework/Web/UI/WebControls/TPagerPageChangedEventParameter.php
+++ b/framework/Web/UI/WebControls/TPagerPageChangedEventParameter.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Web\UI\TControl;
/**
* TPagerPageChangedEventParameter class
diff --git a/framework/Web/UI/WebControls/TRadioButtonList.php b/framework/Web/UI/WebControls/TRadioButtonList.php
index 57368add..2bcd78ac 100644
--- a/framework/Web/UI/WebControls/TRadioButtonList.php
+++ b/framework/Web/UI/WebControls/TRadioButtonList.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TNotSupportedException;
/**
* TRadioButtonList class
diff --git a/framework/Web/UI/WebControls/TRangeValidator.php b/framework/Web/UI/WebControls/TRangeValidator.php
index 81ccd4da..8d9372fa 100644
--- a/framework/Web/UI/WebControls/TRangeValidator.php
+++ b/framework/Web/UI/WebControls/TRangeValidator.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Prado;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/TReCaptcha.php b/framework/Web/UI/WebControls/TReCaptcha.php
index c45c20da..1bde0016 100644
--- a/framework/Web/UI/WebControls/TReCaptcha.php
+++ b/framework/Web/UI/WebControls/TReCaptcha.php
@@ -11,8 +11,10 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TConfigurationException;
use Prado\TPropertyValue;
use Prado\Web\Javascripts\TJavaScript;
+use Prado\Web\Javascripts\TJavaScriptLiteral;
/**
* TReCaptcha class.
diff --git a/framework/Web/UI/WebControls/TReCaptchaValidator.php b/framework/Web/UI/WebControls/TReCaptchaValidator.php
index 80e195e0..6f596e3c 100644
--- a/framework/Web/UI/WebControls/TReCaptchaValidator.php
+++ b/framework/Web/UI/WebControls/TReCaptchaValidator.php
@@ -11,6 +11,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Exception;
use Prado\Web\Javascripts\TJavaScript;
/**
diff --git a/framework/Web/UI/WebControls/TRepeater.php b/framework/Web/UI/WebControls/TRepeater.php
index d22a66ed..9f079ad3 100644
--- a/framework/Web/UI/WebControls/TRepeater.php
+++ b/framework/Web/UI/WebControls/TRepeater.php
@@ -14,6 +14,8 @@ use Prado\Exceptions\TInvalidDataTypeException;
use Prado\Exceptions\TInvalidDataValueException;
use Prado\Collections\TMap;
use Prado\Collections\TList;
+use Prado\Prado;
+use Prado\Util\TDataFieldAccessor;
/**
* TRepeater class.
diff --git a/framework/Web/UI/WebControls/TRepeaterCommandEventParameter.php b/framework/Web/UI/WebControls/TRepeaterCommandEventParameter.php
index e6e9d240..f28f1063 100644
--- a/framework/Web/UI/WebControls/TRepeaterCommandEventParameter.php
+++ b/framework/Web/UI/WebControls/TRepeaterCommandEventParameter.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Web\UI\TControl;
/**
* TRepeaterCommandEventParameter class
diff --git a/framework/Web/UI/WebControls/TRepeaterItemEventParameter.php b/framework/Web/UI/WebControls/TRepeaterItemEventParameter.php
index 2d86df38..c8321228 100644
--- a/framework/Web/UI/WebControls/TRepeaterItemEventParameter.php
+++ b/framework/Web/UI/WebControls/TRepeaterItemEventParameter.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Web\UI\TControl;
/**
* TRepeaterItemEventParameter class
diff --git a/framework/Web/UI/WebControls/TSafeHtml.php b/framework/Web/UI/WebControls/TSafeHtml.php
index aa5316e0..b60291b7 100644
--- a/framework/Web/UI/WebControls/TSafeHtml.php
+++ b/framework/Web/UI/WebControls/TSafeHtml.php
@@ -10,6 +10,8 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\IO\TTextWriter;
+use Prado\Prado;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/TSliderClientScript.php b/framework/Web/UI/WebControls/TSliderClientScript.php
index 3dfd14d5..3758d87d 100644
--- a/framework/Web/UI/WebControls/TSliderClientScript.php
+++ b/framework/Web/UI/WebControls/TSliderClientScript.php
@@ -11,6 +11,8 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Web\Javascripts\TJavaScript;
+use Prado\Web\UI\TClientSideOptions;
/**
* TSliderClientScript class.
diff --git a/framework/Web/UI/WebControls/TTabPanel.php b/framework/Web/UI/WebControls/TTabPanel.php
index 4186ce3d..1f5b27a7 100644
--- a/framework/Web/UI/WebControls/TTabPanel.php
+++ b/framework/Web/UI/WebControls/TTabPanel.php
@@ -11,6 +11,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TInvalidOperationException;
use Prado\TPropertyValue;
use Prado\Exceptions\TInvalidDataValueException;
use Prado\Web\Javascripts\TJavaScript;
diff --git a/framework/Web/UI/WebControls/TTable.php b/framework/Web/UI/WebControls/TTable.php
index b189e058..437aab2b 100644
--- a/framework/Web/UI/WebControls/TTable.php
+++ b/framework/Web/UI/WebControls/TTable.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TConfigurationException;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/TTableFooterRow.php b/framework/Web/UI/WebControls/TTableFooterRow.php
index 2414c613..ce1ede3c 100644
--- a/framework/Web/UI/WebControls/TTableFooterRow.php
+++ b/framework/Web/UI/WebControls/TTableFooterRow.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TInvalidOperationException;
/**
* TTableFooterRow class.
diff --git a/framework/Web/UI/WebControls/TTableHeaderRow.php b/framework/Web/UI/WebControls/TTableHeaderRow.php
index d6ca6146..2c773aed 100644
--- a/framework/Web/UI/WebControls/TTableHeaderRow.php
+++ b/framework/Web/UI/WebControls/TTableHeaderRow.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TInvalidOperationException;
/**
* TTableHeaderRow class.
diff --git a/framework/Web/UI/WebControls/TTemplateColumn.php b/framework/Web/UI/WebControls/TTemplateColumn.php
index b0b7167a..adb32970 100644
--- a/framework/Web/UI/WebControls/TTemplateColumn.php
+++ b/framework/Web/UI/WebControls/TTemplateColumn.php
@@ -10,7 +10,9 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Web\UI\ITemplate;
use Prado\Exceptions\TInvalidDataTypeException;
+use Prado\Prado;
/**
* TTemplateColumn class
diff --git a/framework/Web/UI/WebControls/TTemplatedWizardStep.php b/framework/Web/UI/WebControls/TTemplatedWizardStep.php
index c887d153..e782c635 100644
--- a/framework/Web/UI/WebControls/TTemplatedWizardStep.php
+++ b/framework/Web/UI/WebControls/TTemplatedWizardStep.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Web\UI\ITemplate;
/**
* TTemplatedWizardStep class.
diff --git a/framework/Web/UI/WebControls/TTextBox.php b/framework/Web/UI/WebControls/TTextBox.php
index 4e8252ca..9ed41ec9 100644
--- a/framework/Web/UI/WebControls/TTextBox.php
+++ b/framework/Web/UI/WebControls/TTextBox.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Prado;
use Prado\TPropertyValue;
use Prado\Web\THttpUtility;
use Prado\Exceptions\TInvalidDataValueException;
diff --git a/framework/Web/UI/WebControls/TTextHighlighter.php b/framework/Web/UI/WebControls/TTextHighlighter.php
index b6a0b46e..37bba1a2 100644
--- a/framework/Web/UI/WebControls/TTextHighlighter.php
+++ b/framework/Web/UI/WebControls/TTextHighlighter.php
@@ -12,6 +12,9 @@
namespace Prado\Web\UI\WebControls;
use Prado\TPropertyValue;
use Prado\Prado;
+use Prado\Web\Javascripts\TJavaScript;
+use Text_Highlighter;
+use Text_Highlighter_Renderer_Html;
// BC trick : only define constants if Text/Highlighter.php
// is not yet included
@@ -181,7 +184,7 @@ class TTextHighlighter extends TTextProcessor
{
try
{
- $highlighter=\Prado\Vendor\TextHighlighter\Text\Highlighter::factory($this->getLanguage());
+ $highlighter=Text_Highlighter::factory($this->getLanguage());
}
catch(\Exception $e)
{
diff --git a/framework/Web/UI/WebControls/TValidatorClientSide.php b/framework/Web/UI/WebControls/TValidatorClientSide.php
index c5b87c18..9f59e92a 100644
--- a/framework/Web/UI/WebControls/TValidatorClientSide.php
+++ b/framework/Web/UI/WebControls/TValidatorClientSide.php
@@ -11,6 +11,7 @@
namespace Prado\Web\UI\WebControls;
use Prado\TPropertyValue;
+use Prado\Web\UI\TClientSideOptions;
/**
* TValidatorClientSide class.
diff --git a/framework/Web/UI/WebControls/TView.php b/framework/Web/UI/WebControls/TView.php
index 307a0838..2f43391a 100644
--- a/framework/Web/UI/WebControls/TView.php
+++ b/framework/Web/UI/WebControls/TView.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Exceptions\TInvalidOperationException;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/TWebControlDecorator.php b/framework/Web/UI/WebControls/TWebControlDecorator.php
index c1d6ff1e..63a03e75 100644
--- a/framework/Web/UI/WebControls/TWebControlDecorator.php
+++ b/framework/Web/UI/WebControls/TWebControlDecorator.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Prado;
use Prado\TPropertyValue;
/**
diff --git a/framework/Web/UI/WebControls/TWizard.php b/framework/Web/UI/WebControls/TWizard.php
index ef068384..9d18ddd8 100644
--- a/framework/Web/UI/WebControls/TWizard.php
+++ b/framework/Web/UI/WebControls/TWizard.php
@@ -10,6 +10,9 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Collections\TStack;
+use Prado\Exceptions\TConfigurationException;
+use Prado\Exceptions\TInvalidOperationException;
use Prado\TPropertyValue;
use Prado\Exceptions\TInvalidDataValueException;
diff --git a/framework/Web/UI/WebControls/TWizardNavigationTemplate.php b/framework/Web/UI/WebControls/TWizardNavigationTemplate.php
index 9087e99a..e6a3ab9d 100644
--- a/framework/Web/UI/WebControls/TWizardNavigationTemplate.php
+++ b/framework/Web/UI/WebControls/TWizardNavigationTemplate.php
@@ -11,6 +11,7 @@
namespace Prado\Web\UI\WebControls;
use Prado\Exceptions\TInvalidDataValueException;
+use Prado\Web\UI\ITemplate;
/**
* TWizardNavigationTemplate class.
diff --git a/framework/Web/UI/WebControls/TWizardSideBarListItemTemplate.php b/framework/Web/UI/WebControls/TWizardSideBarListItemTemplate.php
index 53291a0f..ff41325a 100644
--- a/framework/Web/UI/WebControls/TWizardSideBarListItemTemplate.php
+++ b/framework/Web/UI/WebControls/TWizardSideBarListItemTemplate.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Web\UI\ITemplate;
/**
* TWizardSideBarListItemTemplate class.
diff --git a/framework/Web/UI/WebControls/TWizardSideBarTemplate.php b/framework/Web/UI/WebControls/TWizardSideBarTemplate.php
index 8572a467..dd50cde9 100644
--- a/framework/Web/UI/WebControls/TWizardSideBarTemplate.php
+++ b/framework/Web/UI/WebControls/TWizardSideBarTemplate.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Web\UI\WebControls;
+use Prado\Web\UI\ITemplate;
/**
* TWizardSideBarTemplate class.
diff --git a/framework/Web/UI/WebControls/TXmlTransform.php b/framework/Web/UI/WebControls/TXmlTransform.php
index c147b66c..cdaf2a79 100644
--- a/framework/Web/UI/WebControls/TXmlTransform.php
+++ b/framework/Web/UI/WebControls/TXmlTransform.php
@@ -11,7 +11,13 @@
*/
namespace Prado\Web\UI\WebControls;
+use DOMDocument;
+use Prado\Collections\TAttributeCollection;
+use Prado\Exceptions\TConfigurationException;
use Prado\Exceptions\TInvalidDataValueException;
+use Prado\IO\TTextWriter;
+use Prado\Prado;
+use XSLTProcessor;
/**
* TXmlTransform class