Sun Java System Portal Server 7 Enterprise Sample Guide

Categorizing Content Using Tabs

The following procedures illustrate how to create and display information:

Creating a New Top-level Tab

ProcedureTo Create a New Top-level Tab

This procedure creates a new tab container by the name MyTabContainer and adds it to the list of Containers on the Portal Desktop administration page.

Steps
  1. Login to the Portal Server management console as administrator (amadmin).

  2. Click the Portals tab and click Portal-ID in the list of portals.

  3. Select Enterprise Sample in the drop down list for Current Location.

  4. Click the Manage Containers & Channels link.

  5. In the left side frame, select ASCTabContainer in the View Type drop down list.

  6. Select New Channel or Container link in the right side frame.

    A popup window displays with a wizard to guide you through the steps for creating a new container.

    1. Ensure that the correct values are selected for the portal and DN in the popup window. Select the Container radio button and click Next.

      A message displays indicating successful creation of the container.

    2. Select ASCTabContainerProvider from the Container Provider drop down list and click Next.

    3. Provide a unique name for the container. For example, MyTabContainer.

    4. Verify the information and click Close.

      A message displays indicating successful creation of the container.

  7. Select the link Show or Hide Channels and Containers on Portal Desktop link.

    Ensure that the newly created container is listed in the list of containers Visible on the Portal Desktop list.

  8. Verify the information and click Close to the Portal management page.

Changing Tab Properties

ProcedureTo Change Tab Properties

Steps
  1. Click MyTabContainer under ASCTabContainer.

  2. Change the description and title to My Top Level Tab and MyTab respectively in the Edit properties form.

  3. Click Save to save the changes and return to the Portal administration page.

    The newly created tab, MyTab, has no content. To add content to this tab, add another nested tab to MyTab.

Creating a Nested Tab

ProcedureTo Create a Nested Tab

The nested tab is an aggregation of channels, so it is created as a JSPTableContainerProvider.

Steps
  1. Login to the Portal Server administration console as administrator (amadmin).

  2. Click the Portals tab and click on My Portal in the list of portals.

  3. In the drop down list for Current Location select Enterprise Sample.

  4. Click the Manage Containers & Channels link.

  5. In the left side frame, select ASCTabContainer/MyTabContainer in the View Type drop down list.

  6. In the right side frame, Click on New Tab to launch the tab creation wizard.

  7. In the pop up wizard window, do the following.

    1. Ensure that the values selected for Portal and DN are correct and click Next.

    2. Specify the properties for the new tab. The Tab Name property value has to be unique across all containers. Leave the Removable property as selected, and click Next.

    3. Ensure that the {Parent Tab Container value is set to ASCTabContainer/MyTabContainer. Select the appropriate radio button for Would you like to add content to the new tab? and click Next.

      If you opted to add content to the new tab, select channels to be displayed on the tab from the list of channels. Multiple channels (e.g., SampleXML) can be selected. Ensure that the Visible on Users Desktop option is selected.

    4. Verify that you have entered the correct information and click Next.

  8. Click Finish.