Configuring a View Layout
Similar to Applets, Siebel Views can be configured to render with the help of JET components via customized PM. The JSON spec should be provided with the PM property "SEBL_COMPONENT_CONFIG" as part of custom PM Init method.
SiebelAppFacade.BaseViewModelViewPM is the base JavaScript PM class for
Siebel View to be used with Oracle JET Component. Any custom PM must extend from
SiebelAppFacade.BaseViewModelViewPM and declare dependency on
"siebel/baseviewmodelviewpmm" as part of Define statement
In a typical use case, custom PM configured for Applet can render their own content and
View simply composes them as per the ODH placeholders (i.e., View Web Template Items).
With this feature, it should now be possible to pick Redwood Page Template and
re-arrange/render Applet content according to it. In such scenario, the configuration
provided via "SEBL_COMPONENT_CONFIG" shall provide the binding from
Applet/Applet Controls to the placeholder/attributes specified by Redwood Page Template
Component.
Here would like to take an example of the Horizontal foldout layout page template (oj-sp-foldout-layout). The existing Account Summary View can be customized using the JSON specification to render using Horizontal foldout layout page template. See screenshot below for rendering using OpenUI PM/PR v/s JET component "Horizontal foldout page template".
In the above scenario, the component API specification provided the guidance on which property of component should be populated and how hierarchy should be nested. The framework binding specification allowed us to pick values from different controls and place it appropriately on the UI. For example, Applet Control "Name" from the Applet "SIS Account Entry Applet" is being mapped as "itemTitle" for the horizontal overview component . Similarly values from three different controls, Address, City and State are being joined using the framework provided binding specification to show as "Address" in the horizontal overview component. Applet such as "Billing Items" are being rendered using Oracle JET List Item Template components. Fore more information see, Configuring a Foldout Layout