diff options
author | ctrlaltca <> | 2012-05-19 11:08:20 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-05-19 11:08:20 +0000 |
commit | a4a558b0140db3edde9978fc899a188486ae61cc (patch) | |
tree | 3a0c2083244dac94b21102bc2a5d4dcbad697a7f /framework/Web/UI | |
parent | 92eef765a49bfd27694ea99fff8eeb806cee447e (diff) |
fix #402
Diffstat (limited to 'framework/Web/UI')
7 files changed, 34 insertions, 5 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveDatePicker.php b/framework/Web/UI/ActiveControls/TActiveDatePicker.php index 515eb29a..d7b643ed 100755 --- a/framework/Web/UI/ActiveControls/TActiveDatePicker.php +++ b/framework/Web/UI/ActiveControls/TActiveDatePicker.php @@ -87,6 +87,14 @@ class TActiveDatePicker extends TDatePicker implements ICallbackEventHandler, I } /** + * @return TCallbackClientSide client side request options. + */ + public function getClientSide() + { + return $this->getAdapter()->getBaseActiveControl()->getClientSide(); + } + + /** * Client-side Text property can only be updated after the OnLoad stage. * @param string text content for the textbox */ diff --git a/framework/Web/UI/ActiveControls/TActiveFileUpload.php b/framework/Web/UI/ActiveControls/TActiveFileUpload.php index 0ceb82fc..b4557cd8 100755 --- a/framework/Web/UI/ActiveControls/TActiveFileUpload.php +++ b/framework/Web/UI/ActiveControls/TActiveFileUpload.php @@ -354,6 +354,14 @@ EOS; } /** + * @return TCallbackClientSide client side request options. + */ + public function getClientSide() + { + return $this->getAdapter()->getBaseActiveControl()->getClientSide(); + } + + /** * Adds ID attribute, and renders the javascript for active component. * @param THtmlWriter the writer used for the rendering purpose */ diff --git a/framework/Web/UI/ActiveControls/TActivePager.php b/framework/Web/UI/ActiveControls/TActivePager.php index 7aac0333..009977d0 100644 --- a/framework/Web/UI/ActiveControls/TActivePager.php +++ b/framework/Web/UI/ActiveControls/TActivePager.php @@ -49,8 +49,7 @@ class TActivePager extends TPager implements IActiveControl, ICallbackEventHandl { return $this->getAdapter()->getBaseActiveControl(); } - - + /** * @return TCallbackClientSide client side request options. */ diff --git a/framework/Web/UI/ActiveControls/TActiveTableCell.php b/framework/Web/UI/ActiveControls/TActiveTableCell.php index 32c9bd46..73e98967 100644 --- a/framework/Web/UI/ActiveControls/TActiveTableCell.php +++ b/framework/Web/UI/ActiveControls/TActiveTableCell.php @@ -75,6 +75,14 @@ class TActiveTableCell extends TTableCell implements ICallbackEventHandler, IAct } /** + * @return TCallbackClientSide client side request options. + */ + public function getClientSide() + { + return $this->getAdapter()->getBaseActiveControl()->getClientSide(); + } + + /** * @return string corresponding javascript class name for this TActiveTableCell. */ protected function getClientClassName() diff --git a/framework/Web/UI/ActiveControls/TActiveTableRow.php b/framework/Web/UI/ActiveControls/TActiveTableRow.php index f021de7e..6beeb27e 100644 --- a/framework/Web/UI/ActiveControls/TActiveTableRow.php +++ b/framework/Web/UI/ActiveControls/TActiveTableRow.php @@ -76,6 +76,14 @@ class TActiveTableRow extends TTableRow implements ICallbackEventHandler, IActiv } /** + * @return TCallbackClientSide client side request options. + */ + public function getClientSide() + { + return $this->getAdapter()->getBaseActiveControl()->getClientSide(); + } + + /** * @return string corresponding javascript class name for this TActiveTableRow. */ protected function getClientClassName() diff --git a/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php b/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php index e99e8ce7..7c50f02d 100644 --- a/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php +++ b/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php @@ -4,7 +4,7 @@ *
* @author Wei Zhuo <weizhuo[at]gamil[dot]com>
* @link http://www.pradosoft.com/
- * @copyright Copyright © 2005-2011 PradoSoft + * @copyright Copyright © 2005-2011 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Web.UI.ActiveControls
diff --git a/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php b/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php index 8a97ecb9..39978bcf 100644 --- a/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php +++ b/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php @@ -126,5 +126,3 @@ class TTimeTriggeredCallback extends TCallback return 'Prado.WebUI.TTimeTriggeredCallback'; } } - -?> |