containerWithTrayDesign
Creates a container and enables you to create a custom tray for all iViews displayed in the container.
Attributes
|
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 . |
Coordinating Tags
The tag must be nested in the following tag:
Example
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>