The base class for any representation object. More...
#include <javascript/clientside.h>
Public Member Functions | |
void | execCallback (String callbackName,...) |
Calls a user-defined callback on the server. More... | |
IlsRepresentation | getRepresentation () |
Returns the representation that owns the current representation object. More... | |
void | openView (String viewName, Boolean force=false,...) |
Opens a new view named viewName with the current representation object as its origin. You can pass up to 10 String arguments to this method. More... | |
void | setRpStatus (Int value) |
Sets the rpStatus attribute associated with the representation object. More... | |
The base class for any representation object.
This class defines a generic object API underlying the interaction protocol between a dynamic server and application components.
IlsRepresentation
(JavaScript), IlsRpObject
(C++). void javascript::IlsRpObject::execCallback | ( | String | callbackName, |
... | |||
) |
Calls a user-defined callback on the server.
callbackName | callback name |
... | The arguments callbackArg1 to callbackArg10 are optional. They are converted into an array of IlsMvValue and passed to the user-defined callback on the server. All optional callback arguments must be entered as strings, which will be converted to the correct type when used. |
IlsRepresentation javascript::IlsRpObject::getRepresentation | ( | ) |
Returns the representation that owns the current representation object.
void javascript::IlsRpObject::openView | ( | String | viewName, |
Boolean | force = false , |
||
... | |||
) |
Opens a new view named viewName with the current representation object as its origin. You can pass up to 10 String arguments to this method.
viewName | view name |
force | true if you want to force to reopen a already opened view. |
... | up to 10 String arguments |
void javascript::IlsRpObject::setRpStatus | ( | Int | value | ) |
Sets the rpStatus attribute associated with the representation object.
value | value to set to the rpStatus attribute |