IlsRpObject
 
IlsRpObject
Category
Rogue Wave Views Script class
Environment 
Rogue Wave® Server/Rogue Wave Views component
Description 
IlsRpObject is 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.
Synopsis 
setRpStatus
execCallback
openView
getRepresentation
API 
void setRpStatus(Int value)
This method sets the rpStatus attribute associated with the representation object.
Example:
rpobj.setRpStatus(2);
 
void execCallback(String callbackName,
Optional String callbackArg1,
...
Optional String callbackArg10)
This method calls a user-defined callback on the server. 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.
Example:
rpobj.execCallback("mycallback", 1, obj.name);
 
void openView(String viewName,
Optional Boolean force,
Optional String arg1,
...
Optional String arg10)
This method 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. I
IlsRepresentation getRepresentation()
This method returns the representation that owns the current representation object.
See Also 
IlsRepresentation (Script class), IlsRpObject (C++ class)

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.