Whenever application started loading ,OpenUI framework calls the Physical Renderer file (PR) and these PR files can also be extend to create a custom PR file to perform the user defined task.
Below is the PR life cycle execution flow:
base_pr_lifecycle
1. Renderer method creates the renderer to render the UI.
2. Init method allows you to override any method that resides in a derived presentation model(PM) by calling the Init method in the predefined PM before it calls the Init method in the derived PM and vice versa for setup method.
3. ShowUI method ,controls the display of physical control that related to an applet control. It also renders the container for the metadata, data, and physical event bindings. For example, when Siebel Open UI renders a list applet as a grid, ShowUI renders the third-party grid control uses for that applet.
4. BindEvents method ,Setting up the user interface binding of physical events to the physical user interface, represented as HTML elements. It captures the user actions, and then translates these actions to logical events in the physical renderer before Siebel Open UI sends them to the presentation model for processing.
5. BindData method ,downloads metadata and data from the Siebel Server to the client proxy, and then binds this data to the user interface. The list columns that a list applet uses is an example of metadata, and the record set that list applet uses is an example of data.
6. AttachPMBinding method attaches handlers to notifications that occur during the life cycle.
we can use GetPM to Calls a method available in PM like,
ExecuteMethod
OnControlEvent
GetSetProperty
7. EndLife Method ,execute at last by ending the life of physical renderer and complete the cycle.
No comments:
Post a Comment