Sun Java System Portal Server 7 Developer's Guide

Using the JSPSingleContainerProvider

The JSPSingleContainerProvider class extends JSPContainerProviderAdapter. A single container simply displays a single leaf channel or a container. It must be a JSP that wraps a container or leaf channel.

ProcedureThe JSPSingleContainerProvider Class

Steps
  1. Gets the selected channel name.

  2. Returns the selected channel name as a String.

    If more than one channel is defined, it displays the first channel in the list.

    Some examples of single container include JSPContentContainer, JSPLayoutContainer, JSPEditContainer.