TBaseActiveCallbackControl is a common set of options and functionality for active controls that can perform callback requests.
The properties of TBaseActiveCallbackControl can be accessed and changed from each individual active controls' getActiveControl property.
The following example sets the validation group property of a TCallback component.
Additional client-side options and events can be set using the ClientSide property. The following example shows an alert box when a TCallback component response returns successfully.
Located in /Web/UI/ActiveControls/TBaseActiveControl.php (line 162)
TComponent | --TBaseActiveControl | --TBaseActiveCallbackControl
Callback client-side options can be set by setting the properties of the ClientSide property. E.g. <com:TCallback ActiveControl.ClientSide.OnSuccess="..." /> See TCallbackClientSide for details on the properties of ClientSide.
Returns an array of default callback client-side options. The default options are obtained from the client-side options of a TCallbackOptions control with ID specified by setCallbackOptions.
Returns the javascript callback request instance. To invoke a callback
request for this control call the <tt>dispatch()</tt> method on the request instance. Example code in javascript
Alternatively,
Registers the callback control javascript code. Client-side options are
merged and passed to the javascript code. This method should be called by Active component developers wanting to register the javascript to initialize the active component with additional options offered by the ClientSide property.
Sets default callback options. Takes the ID of a TCallbackOptions component to duplicate the client-side options for this control. The getClientSide subproperties takes precedence over the CallbackOptions property.
Sets the client side options. Can only be set when client side is null.
Inherited From TBaseActiveControl
TBaseActiveControl::__construct()
TBaseActiveControl::canUpdateClientSide()
TBaseActiveControl::getControl()
TBaseActiveControl::getEnableUpdate()
TBaseActiveControl::getOption()
TBaseActiveControl::getOptions()
TBaseActiveControl::getPage()
TBaseActiveControl::setEnableUpdate()
TBaseActiveControl::setOption()
Inherited From TComponent
TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__call()
TComponent::__get()
TComponent::__set()
TComponent::__sleep()
TComponent::__wakeup()
Documentation generated on Mon, 25 Jun 2012 14:37:21 +0200 by phpDocumentor 1.4.3