Skip to content

ClientActionEx - cBaseLocalControlHost

Adds a client action to the response that will be executed on the client

Type: Procedure

Parameters

Parameter Type Description
sName String Name of the method to call on the client (can contain object specification like this. or window.)
aOptParams String[] (optional) Parameters to pass to the client method
hoOptJsonAttachment Handle (optional) Handle to a cJsonObject that is sent as attachment and will be available as _tActionData on the client during the ClientAction

Syntax

Procedure ClientActionEx String sName String[] aOptParams Handle hoOptJsonAttachment

Call Example

Send ClientActionEx sName aOptParams hoOptJsonAttachment

Description

Adds a client action to the response that will be executed on the client.

A client action executes a JavaScript function on a specific object. If no object (window. or this.) is specified, it will be executed on the JavaScript object presentation of this web object.

Client actions are asynchronous!

Also see ClientAction.