Release Summary : 1. New Features : RequestManager Class Added
 
Share this page                  
RequestManager Class Added
The RequestManager user class provides facilities to manage frames. It handles the standard frame-handling requests and facilitates other developer-specified requests, which are redirected to local procedures in the calling frame.
This class has a particular role in managing frames based on the active_display frame template (see The active_display Template in the Workbench User Guide) and containing fields generated using Display from User Class (see Create a Display from a User Class in the Workbench User Guide). This is mediated by the RespondToRequest method.
RequestManager has the following attributes:
ChoiceList
Data Type: ChoiceList
4GL Access: RW
The ChoiceList attribute references an item selection list, when it belongs to the RM variable in frames derived from the active_display template, containing displays generated using Insert, Display from User Class.
Item
Data Type: Object
4GL Access: RW
The Item attribute references an object being populated, when it belongs to the RM variable in frames derived from the active_display template, containing displays generated using Insert, Display from User Class.
Items
Data Type: Array of Object
4GL Access: RW
The Items attribute references an array of objects being populated, when it belongs to the RM variable in frames derived from the active_display template, containing displays generated using Insert, Display from User Class.
RequestManager has the following methods:
AllAttributes
Returns an array of all the attributes of the specified user class, local and inherited.
AncestorByProperty
Finds the closest ancestor of a field that has the specified property or tagged value.
RespondToRequest
Handles the frame's response to an explicit or simulated end user request.
For complete information about the RequestManager class, see the Language Reference Guide.