Configuring Siebel Open UI > Architecture of Siebel Open UI > Life Cycle of User Interface Elements >

Example of the Life Cycle of a User Interface Element


Figure 18 describes the life cycle of the calendar user interface element.

Figure 18. Example of the Life Cycle of a User Interface Element
Explanation of Callouts

The following sequence occurs during the life cycle of a calendar user interface object:

  1. The user clicks a button that refreshes the calendar.
  2. The Init method adds the following items to the physical renderer:

    AttachPMBinding ("ProcessCalendarData", RefreshUI)

  3. The physical renderer sends the following method to the presentation model:

    OnControlEvent("Refresh_Calendar",RequestCalendarData)

    For more information, see OnControlEvent Method.

  4. The Init method adds the following items to the presentation model:

    AddProperty (MeetingDates, list of dates)
    AddMethod (RequestCalendarData, implementation)
    AttachEventHandler ("Refresh_Calendar", RequestCalendarData)
    AttachNotificationHandler ("GetCalendarOUIData", ProcessCalendarData)
    AttachPostProxyExecute ("GetCalendarOUIData",SetDefaultFocus)

    For more information, see AttachEventHandler Method.

  5. The presentation model sends the RequestCalendarData method to the Activity HI Calendar Applet proxy.
  6. The Activity HI Calendar Applet proxy sends a request to the Siebel Server to call the RequestCalendarData method.
  7. The Siebel Server gets metadata from the Activity HI Calendar Applet that resides on this server, and then sends the GetCalendarOUIData notification method to the presentation model. For more information, see About Objects and Metadata.
  8. The presentation model does the following:
    1. Runs the ProcessCalendarData method and the SetDefaultFocus method.
    2. Sends the RefreshUI method to the physical renderer. This method gets the relevant properties from the presentation model.
  9. The physical renderer refreshes the calendar.
Configuring Siebel Open UI Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.