Using Methods with the Base Physical Renderer Class

The following table describes how to use methods with the BasePhysicalRenderer class.

Method Description

Init

Use this method to initialize the BasePhysicalRenderer class. For more information, see Init Method.

GetPM

Use this method to retrieve the presentation model object on which the base physical renderer is running. For more information, see GetPM Method for Physical Renderers.

ShowUI

Use this method to display the DOM area corresponding to this physical renderer. Any customization on rendering of controls owned by this applet should be left to the respective plug-in wrappers. For more information, see ShowUI Method and Deriving Presentation Models, Physical Renderers, and Plug-in Wrappers.

BindEvents

Use this method to attach event handlers to the applet area that runs on this physical renderer. Any customizations relating to event attachment to controls owned by this applet should be left to the respective plug-in wrappers. For more information, see BindEvents Method.

BindData

Use this method to bind data attributes to the applet area that runs on this physical renderer. Any customizations relating to event attachment to controls owned by this applet should be left to the respective plug-in wrappers. For more information, see BindData Method and Deriving Presentation Models, Physical Renderers, and Plug-in Wrappers.

AttachPMBinding

Use this method to configure Siebel Open UI to do the same work that the AttachPMBinding method does in a presentation model. You can use the following argument to call the AttachPMBinding method: scope.

You can use the following arguments with the AttachPMBinding method:

  • methodName. Identifies the method that the BasePhysicalRenderer class binds.

  • handler. Identifies the handler method that Siebel Open UI uses for this binding.

  • handlerScope. Identifies the scope where the BasePhysicalRenderer class runs the handler. If you do not specify the handlerScope, then the BasePhysicalRenderer class uses the default scope.

For more information, see AttachPMBinding Method.

EndLife

Use this method to end the life of the physical renderer. It is recommended that you use the EndLife method to clean up the custom event handler. This clean up includes releasing events, deleting unused variables, and so on. For more information, see EndLife Method.