Sun Java System Portal Server 7.1 Developer Sample Guide

Stretching a Tab Across an Entire Container

This section includes instructions for creating a tab that spans an entire container. The top-level container is a tab container. Nested within it is a table container, and nested within that is a tab container, in which the tab spans the entire container.

ProcedureTo Stretch a Tab Across an Entire Container from the Command Line

  1. Edit the display profile and make the width of the Nested Tab Container full_top in the Table Container so that it stretches across the entire page.

  2. Load the display profile into LDAP by using the psadmin subcommand.

ProcedureTo Stretch a Tab Across an Entire Container from the Portal Server Management Console

  1. Log in to the Portal Server management console and select Portals and portalID.

  2. Select DeveloperSample [Org] from the Select DN drop down menu and select Manage Containers and Channels.

    Ensure that JSPTabContainer is selected.

  3. Click on New Channel or Container and create a new container by specifying the Container Provider (for example, JSPTableContainerProvider) and Name for the new container (for example, TestContainer).

  4. Select the container you just created (for example, TestContainer) and click New Channel or Container (in the container you just created).

  5. Create a new container by specifying the Container provider (for example, JSPTabContainerProvider, and Name for container (for example, TestTabContainer).

  6. Select the new tab container you just created (for example, TestTabContainer), specify the width property as full_top, and save the values.

  7. Create a new tab (for example, TestNewTab) for the tab container you just created (for example, TestTabContainer) by selecting New Tab.