Show TOC Start of Content Area

Background documentation container  Locate the document in its SAP Library structure

Creates a container that displays the default HTMLB-based tray for all iViews 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:

·        template

Example

The following creates a layout with two columns of equal size. All iViews in the containers are displayed with the default iView tray.

<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibHtmlb"
    prefix="hbj" %>

<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibLayout"
    prefix="lyt" %>

 

<lyt:template>

    <hbj:content id="myContext" >

        <hbj:page title="Portal Page">

            <hbj:gridLayout id="GridLayout1" width="100%" cellSpacing="2">

                <hbj:gridLayoutCell rowIndex="1" columnIndex="1"
                width="50%" verticalAlignment="top">

                    <lyt:container id="column1" />

                </hbj:gridLayoutCell>

                <hbj:gridLayoutCell rowIndex="1" columnIndex="2"
                width="50%" verticalAlignment="top">

                    <lyt:container id="column2" />

                </hbj:gridLayoutCell>

            </hbj:gridLayout>

        </hbj:page>

    </hbj:content>

</lyt:template>

See Also

·        containerWithTrayDesign

 

 

End of Content Area