Show TOC

Creating Custom Web Dynpro LayoutsLocate this document in the navigation structure

Use

The iViews in a Web Dynpro page are arranged based on the page's layout. A layout, for example, can arrange the iViews in a single column, in several columns, or in other configurations.

The following types of Web Dynpro layouts are available:

  • Out-of-the-Box Layouts: The portal comes with a selection of basic layouts.

    Each layout is a layout template in the PCD, which references a Web Dynpro layout component.

  • Web Dynpro Layout Wizard: Administrators can create new layouts by specifying a number of rows and columns, and the widths of each column, as described in Creating a Web Dynpro Page Layout .

    Each layout created with the wizard is a layout template in the PCD, all of which reference the same generic Web Dynpro layout component.

  • Custom Layouts: Developers can create custom layouts if they need to define more than just the number of rows and columns, and the widths of the columns.

    For example, the sample layout described in Sample Layout (Tab Layout) organizes each iView into a different tab within a TabStrip control. Only the iView in the selected tab is displayed; all other iViews are hidden.

    Each custom layout is a custom Web Dynpro layout component, from which an administrator can create a layout template in the PCD, as described in Using a Web Dynpro Page Layout .

This section describes how to develop a custom Web Dynpro layout component.

Dependencies

To use the APIs in this section, create dependency references in your project to the following DCs:

SC

DC

EP-WDC

tc/ep/pb/wd/api