How Siebel Open UI Uses the Init Method of the Presentation Model

The Init method uses the following methods to configure the properties, methods, and bindings of the presentation model. For an example that uses Init, see Creating the Presentation Model:

  • AddProperty. Adds a property to a presentation model. This property can be simple or derived. If you use AddProperty to define a derived property, then Siebel Open UI uses the Get method on the presentation model to calculate and return the property value. For more information about deriving values, see Deriving Presentation Models, Physical Renderers, and Plug-in Wrappers. For more information, see Get Method.

  • AddMethod. Adds a method to the presentation model. For more information, see AddMethod Method.

  • AttachEventHandler. Attaches a method that handles the logical event. Siebel Open UI calls this method when it sends an event to the presentation model through the OnControlEvent method. For more information, see OnControlEvent Method and AttachEventHandler Method.

  • AttachNotificationHandler. Attaches a method that handles the notification that Siebel Open UI calls when the Siebel Server sends a notification to an applet. A notification is a message that Siebel Open UI sends to the client when this client requests Siebel Open UI to modify a business component. For example, to create or delete a business component record. For more information, see Notifications That Siebel Open UI Supports.

  • AttachPSHandler. Handles other incoming property sets that the Siebel Server sends to the client. It can extract the values that a property set contains to individual properties or do other processing.

  • AttachPreProxyExecuteBinding. Attaches a method to the presentation model. Siebel Open UI calls AttachPreProxyExecuteBinding before it processes the reply that it receives from the Siebel Server, but after it receives a reply from this server to the method that Siebel Open UI supplies as an argument. For more information, see Customizing Events.

  • AttachPostProxyExecuteBinding. Attaches a method to the presentation model. Siebel Open UI calls AttachPostProxyExecuteBinding after it processes the reply from the Siebel Server.

The physical renderer calls the following presentation model methods:

  • Get. Gets the value of a property that resides in a presentation model.

  • ExecuteMethod. Runs a method that the AddMethod method calls. For more information, see ExecuteMethod Method.

  • OnControlEvent. Calls an event. The physical renderer uses the OnControlEvent method to call the presentation model and send an event. To call the method, the presentation model uses a binding that exists between the event and the presentation model method and the AttachEventHandler method. For more information, see OnControlEvent Method and AttachEventHandler Method.

  • SetProperty. Sets the value of a presentation model property. The physical renderer can set this value directly in some situations. For more information, see SetProperty Method.