Sun Java System Portal Server 7.1 Technical Reference

Sample Desktop

Default Layout

By default, the sample portal Desktop based on the JSPTabContainer includes five tabs, My Front Page, Samples, Search, Collaboration, and Sample Portlet. In the figure below, the channels are shown in numbers.

Figure 37–1 Sample Desktop Based on JSPTabContainer

Sample Desktop Based on JSPTabContainer

Default Actions

The sample JSPTabContainer channel, by default, includes:

Default Display Profile Settings

The provider responsible for generating the JSPTabContainer channel is JSPTabContainerProvider. The provider profile is the template which decides the properties for a container channel, but the container channel profile will ultimately decide the values for the container channel attributes.

The properties that make up JSPTabContainer work as follows by default.


Set to tab.jsp. This draws the Content Page for the tab container.


Set to tabedit.jsp. This displays the Edit page for the tab container where new tabs can be added, and existing tabs removed or renamed.


Sets the tab that opens first on the Desktop as MyFrontPageTabPanelContainer.


Allows six tabs to be created. As there are currently five tabs, one more can be added.


Used when creating a new tab from scratch.


Specifies that a number is appended to a newly created tab as the channel name. This number is increased each time a new tab is created, so that the new tab will have unique name. For example, to create a new tab based on MyFrontPageTabPanelContainer in JSPTabContainer, the new tab channel name would be JSPTabContainer/MyFrontPageTabPanelContainer1. (The new tab name is actually the channelName property in the display profile plus the value of the channelNumber property. The channelNumber is incremented by one each time a new tab is created.)


Specifies JSPContentContainer as the content channel that provides the Content page displaying channels to add to a user-created tab.


Specifies JSPPresetThemeContainer as the channel that is displayed in the Theme - Preset Theme page.


Specifies JSPCustomThemeContainer as the channel that is displayed in the Theme - Custom Theme page.


This collection has <Collection name=> entries for each of the available tab defined in JSPTabContainer.


This list describes all available channels for this container. The available channels are displayed in the Content Preference page for users to select from.


This list describes selected channels for this container. Only selected channels are displayed on the Desktop.