containerWithTrayDesign
Creates a container and enables you to create a custom tray for all iViews displayed in the container.

If you want the same tray for all iViews in all containers in the layout, place the code that defines the tray (that is, the body of the containerWithTrayDesign tag) in an include file, and then include the file in all your containers.
Name |
Mandatory |
Description |
id |
Yes |
The ID of the container. In the portalapp.xml for the PAR that includes the layout, this ID must be specified in a profile property called com.sap.portal.reserved.layout.Cont<X>. For more information, see How to Create a Custom Layout. |
The tag must be nested in the following tag:
· template
The following creates a container with a custom tray that displays the title of the iView at the top, and then a set of links for invoking built-in tray functions. The iView’s content is displayed after the links.
<lyt:containerWithTrayDesign id="column1">
<TABLE border=1
cellspacing=10 cellpadding=10 style='WIDTH=100%;
font-size:8.5pt;font-family:Tahoma;border-collapse:collapse;
border:none;'>
<TR>
<TD>
<b><lyt:IViewTitle/></b><br>
<lyt:IViewExpand>Open in New Window</lyt:IViewExpand> |
<lyt:IViewRefresh>Refresh</lyt:IViewRefresh> |
<lyt:IViewToggleOpen>Open</lyt:IViewToggleOpen>
<lyt:IViewToggleClose>Close</lyt:IViewToggleClose> |
<lyt:IViewAbout>About</lyt:IViewAbout> |
<lyt:IViewHelp>Help</lyt:IViewHelp> |
<lyt:IViewRemove>Remove</lyt:IViewRemove> |
<lyt:IViewPersonalize>Personalize</lyt:IViewPersonalize>
<br>
<lyt:IViewContent/>
</TD>
</TR>
</TABLE>
</lyt:containerWithTrayDesign>