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:
Only the main view can use high interactivity. Siebel CRM displays alternate views in standard interactivity. It is recommended that you define alternate views as simple views that do not contain complex navigation links. For more information, see About Standard Interactivity and High Interactivity. 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. 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 and not the SWT file name. 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.swt file contains the following tags: <swe:frameset htmlAttr="cols='100%' border='0' frameborder='No'"> <swe:frame type="View" htmlAttr="noresize scrolling='Yes'"> <swe:frame type="AltView" name="Search" htmlAttr="noresize scrolling='Yes'"> <swe:view name="Search View" id="Search" /> In this example, you still reference the main view in the swe:current-view tag. You reference alternate views in the swe: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.swt file. SWE View TagThe swe:view tag uses the following format: <swe:view name="xxx" id="yyy"> The swe:view tag includes the following attributes:
The swe: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.swt FileThe CCMainView.swt file that you reference in the swe:frameset code of the CCPageContainer.swt page includes the following frameset. This frameset contains the main view: <swe:frameset htmlAttr="cols='100%' border='0' frameborder='No'"> <swe:frame type="View" htmlAttr=" noresize scrolling='Yes'"> |
Configuring Siebel Business Applications | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |