Configuring Siebel Open UI to Use Different Physical Renderers and Presentation Models According to the Applet Mode
The example in this topic configures Siebel Open UI to download different presentation models and physical renderers depending on the following mode that the Contact List Applet must use:
Edit List mode. Download a file named list_PM.js for the custom presentation model and a file named list_PR.js for the custom physical renderer.
New mode. Download a file named new_PM.js for the custom presentation model and a file named new_PR.js for the custom physical renderer.
You can use any name for your custom presentation models and physical renderers.
To configure Siebel Open UI to use different physical renderers and presentation models according to the applet mode
Customize your presentation models and physical renderers.
In this example, assume you customized the following files:
list_PM.js
list_PR.js
new_PM.js
new_PR.js
Add your custom presentation models and physical renderers to the manifest:
Log in to the client with administrative privileges.
Navigate to the Administration - Application screen, and then the Manifest Files view.
For more information about the screens that you use in this step, see Configuring Manifests.
In the Files list, add the following files that you customized in Step 1.
Field Value Name
siebel/custom/list_PM.js
Name
siebel/custom/list_PR.js
Name
siebel/custom/new_PM.js
Name
siebel/custom/new_PR.js
Configure the manifest for Edit List mode:
Navigate to the Manifest Administration view.
In the UI Objects list, specify the following applet.
Field Value Type
Applet
Usage Type
Presentation Model
Name
Contact List Applet
In the Object Expression list, add the following expression.
Field Value Expression
EditList
Level
1
In the Files list, add the following file:
siebel/custom/list_PM.js
Siebel Open UI uses the file that you specify for the presentation model that it uses to display the Contact List Applet in Edit List mode.
In the UI Objects list, specify the following applet.
Field Value Type
Applet
Usage Type
Physical Renderer
Name
Contact List Applet
In the Object Expression list, add the following expression.
Field Value Expression
EditList
Level
1
In the Files list, add the following file:
siebel/custom/list_PR.js
Siebel Open UI uses the file that you specify for the physical renderer that it uses to display the Contact List Applet in Edit List mode.
Configure the manifest for New mode:
In the UI Objects list, specify the following applet.
Field Value Type
Applet
Usage Type
Presentation Model
Name
Contact List Applet
In the Object Expression list, add the following expression.
Field Value Expression
New
Level
1
In the Files list, add the following file:
siebel/custom/new_PM.js
Siebel Open UI uses the file that you specify for the presentation model that it uses to display the Contact List Applet in New mode.
In the UI Objects list, specify the following applet.
Field Value Type
Applet
Usage Type
Physical Renderer
Name
Contact List Applet
In the Object Expression list, add the following expression.
Field Value Expression
New
Level
1
In the Files list, add the following file:
siebel/custom/new_PR.js
Siebel Open UI uses the file that you specify for the physical renderer that it uses to display the Contact List Applet in New mode.
Test your modifications.