Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Configuring Siebel Business Applications > Configuring Siebel Web Templates and Siebel Tags > Configuring Siebel Web Templates and Siebel Tags > Displaying Multiple Views on a PageThe Siebel Web Engine can simultaneously display multiple views on a page. These views include the following main view and one or more alternate views:
You can display multiple views in the following ways:
It is recommended that you define alternate views as simple views that do not contain complex navigation links. The examples in this topic describe how to create multiple view layouts if you use HTML frames. The procedure is similar to the procedure you use if you do not use HTML frames. If you do not use HTML frames, then to position the views, you can use HTML tables instead of frames and framesets. To support multiple views, you must modify the structure of frames and framesets. You cannot configure Siebel Open UI to display more than one view on a single page, but you can configure it to display multiple applets in a view. For more information, see Creating a View and Configuring Siebel Open UI. To display multiple views on a page
Siebel CRM behaves the same before and after you make this modification. You only add one more layer of frames in the content area. The unmodified application container page template included in the view frame without the outer content frame does not create errors. You cannot use it to display multiple views. Using the LoadContentContainer Method to Load Multiple ViewsYou must use the Web Template Name of the content container page. For example, to display the search view with the main view, do the following:
To load the main view and search view into two frames, the CCSMainAndSearchView web template contains the following tags: <div od-type="frameset" htmlAttr="cols='100%' border='0' frameborder='No'"> <div od-type="frame" type="View" htmlAttr="noresize scrolling='Yes'"> <div od-type="frame" type="AltView" name="Search" htmlAttr="noresize scrolling='Yes'"> <div od-type="view" name="Search View" id="Search" /> <!--od section frameset close-> In this example, you still reference the main view in the <div od-type="current-view"> tag. You reference alternate views in the <div od-type="view"> tag. To switch from displaying the search and main views to displaying only the main view, you can call the LoadContentContainer method again, but this time reference the container page that references the CCMainView web template. OD View TagThe <div od-type="view"> tag uses the following format: <div od-type="view name="xxx" id="yyy"> The <div od-type="view"> tag includes the following attributes:
The <div od-type="frame"> tag contains an alternate view named AltView. You can define only one alternate view for each frameset. If you add more than one alternate view, then you might encounter an error. Example Code of the CCMainView web templateThe CCMainView web template that you reference in the od-type="frameset" code of the CCPageContainer page includes the following frameset. This frameset contains the main view: <div od-type="frameset" htmlAttr="cols='100%' border='0' frameborder='No'"> <div od-type="frame" type="View" htmlAttr=" noresize scrolling='Yes'"> |
![]() ![]() |
Configuring Siebel Business Applications | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |