Page History
Cache | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
|
...
...
...
...
...
...
...
...
CALLBACK_EVENTConstant that is returned as a JSEvent type when in the callback method when it executed normally. Returns Supported Clients Sample |
...
CALLBACK_EXCEPTION_EVENTConstant that is returned as a JSEvent type when in the callback method when an exception occurred. Returns Supported Clients Sample |
...
getClientID()Gets the id of the client.
This client id can be used to find the client from the headless client plugin.
Note that this client id is not the same id as the id displayed on the Aplicationb Server admin page. Returns Supported Clients Sample |
...
getDataProviderValue(contextName, dataprovider)Get a data-provider value. Parameters Returns Supported Clients Sample |
...
getDataProviderValue(contextName, dataprovider, methodName)Get a data-provider value. Parameters Returns Supported Clients Sample |
...
isValid()returns true if this client is still valid/usable. Returns Supported Clients Sample queueMethod(contextName, methodName, args)Queues a method call on the remote server, without a callback method.
Please note that calling queueMethod without a callback does not return anything: no result of the remote method or no exception if something went wrong. Parameters Supported Clients Sample |
...
queueMethod(contextName, methodName, args, notifyCallBackMethod)Queues a method call on the remote server. The callback method will be called when the method is executed on the server
and the return value is given as the JSEvent.data object with the JSEvent.getType() value of JSClient.CALLBACK_EVENT.
|
...
If an exception is thrown somewhere then the callback method will be called with
the exception as the JSEvent data object with the JSEvent.getType() value of JSClient.CALLBACK_EXCEPTION_EVENT
The second argument that is give back is the JSClient instance that did the call. Parameters Supported Clients Sample |
...
setDataProviderValue(contextName, dataprovider, value)Set a data-provider value. Parameters Returns Supported Clients Sample |
...
setDataProviderValue(contextName, dataprovider, value, methodName)Set a data-provider value. Parameters Returns Supported Clients Sample |
...
shutdown()closes the client. Supported Clients Sample |
...
shutdown(force)closes the client. Parameters Supported Clients Sample |
...
Overview
Content Tools
Activity