Director Tutorials


Creating a Container Page

 
Top of page

Objective

To create a container page and learn about its default portlets: Portal Page Controller, Page Navigation, and Page Header.

Before you begin   See About exteNd Director Tutorials.

Audience   These exercises are designed for portal administrators—users who belong to the PortalAdmin administrator ACL group.

 
Top of page

Concepts

 
Top of page

Exercises

This section provides exercises that show you how to perform the following tasks:

 
Top of section

Starting the Portal Administration tool

You use the Portal Administration tool to create and maintain container pages. This tool provides a GUI for creating pages, adding and arranging content, selecting layouts, and assigning pages to users and groups.

Procedure To start the Portal Administration tool:

  1. Start the exteNd Application Server where the Express Portal application has been deployed.

  2. Start a browser.

  3. Start the Express Portal application by entering this URL in your browser:

    http://host/ExpressPortal

    The default page for a guest user opens in your browser.

  4. Click Login.

    tutwwpXpressPortalWelcomeLogin

    The Login dialog opens in your browser:

    tutwwpXpressPortalLoginDialog

  5. Log in as a portal administrator, then click login or the Enter key.

    TIP:   A portal administrator is a user who is a member of the PortalAdmin administrator ACL group. Check with your system administrator for the username and password to use.

    The default page for portal administrators opens in your browser.

  6. Start the Portal Administration tool by selecting Portal Administration.

    tutwwpXpressPortalPortalAdminSelect

    The Portal Administration tool opens in your browser.

    tutwwpPortalAdminHome

TIP:   Now you are ready to create a container page. Leave the Portal Administration tool running and move to the next exercise.

 
Top of section

Creating a container page

Portal administrators can create and maintain container pages using the Portal Administration tool.

A container page is a page that wraps shared and personal pages with a consistent look and feel.

Procedure To create a container page:

  1. Select Maintain Container Pages in the Portal Administration tool:

    tutwwpXpressPortalAdminSelectContainer

    The container page administration tool opens in your browser.

  2. Select New Page.

    tutwwpContainerNewPage

    A new, untitled page appears in the Container Pages list.

  3. In the fields provided, enter the following information about the new container page:

    Field

    What to specify

    Page Name

    Enter MyContainerPage.

    Default Shared Page

    Specify a default shared page by following these steps:

    1. Click Pick Default.

    2. Select exteNd Welcome from the Shared Pages list and click OK.

    NOTE:   Your container page will display the exteNd Welcome shared page in its content pane if no other shared or personal page is selected at runtime.

    Description

    Enter a description of the page.

    Categories

    Do not assign any categories to the container page.

    NOTE:   If you have not created any page categories, you will see the message No Categories Defined.

    Priority

    Enter 0.

    NOTE:   The priority setting determines where a page appears in the navigation list generated by the Page Navigation portlet. The higher a page's priority, the closer to the beginning it appears in the navigation list. You can enter the following values:

    • 0 - 999, where 0 is the highest priority

    • -1, which means no priority. The navigation link for a page with this priority value appears at the end of the list.

  4. Select Update Page.

    tutwwpContainerUpdatePage

    The new page and its specifications are recorded in the portal.

TIP:   Now you are ready to view the default layout of your container page. Leave your new container page selected in the container page administration tool and move to the next exercise.

 
Top of section

Viewing the layout of a container page

exteNd Director provides a Portal Layouts tool for assigning layouts to portal pages. The default layout for container pages is the Header Nav Content layout, as described in the next procedure.

Procedure To view the layout of a container page:

  1. With your container page selected in the container page administration tool, select Choose Layout.

    tutwwpContainerChooseLayout

    The Portal Layouts tool opens:

    tutwwpContainerHNCLayout

    Note that the Header Nav Content layout is selected by default. As its name suggests, this layout partitions the page into header, navigation, and content areas. This is the layout you will use for your container page.

  2. Scroll through the other layouts to see what options are available, but leave the Header Nav Content layout selected.

  3. Click Cancel to close the Portal Layouts tool and return to the container page administration tool.

TIP:   You are now ready to add content to your new container page. Leave the page selected in the container page administration tool and move to the next exercise.

 
Top of section

Adding content to a container page

The content of container pages—and all other types of exteNd Director portal pages—is generated by portlets. You add portlets to portal pages using the Content Selector tool, as described in the next procedure.

exteNd Director provides a set of prebuilt portlets that encapsulate business logic that you can add to your pages. You can also develop your own portlets in exteNd Director to generate custom content for portal pages, as described in Strategies for Developing Portlets.

Procedure To add content on a container page:

  1. With your container page selected in the container page administration tool, select Choose Content:

    tutwwpContainerChooseContent

    The Content Selector tool opens in a new browser window.

    tutwwpContainerContentSelector

  2. Look at the Available Content list.

    This is a list of all portlets that have been registered in the Express Portal application. Registered portlets are also called portlet registrations.

  3. Look at the Selected Content list.

    Note that three registered portlets have been added to the container page by default:

    Portlet

    Description

    Page Header

    Provides a mechanism for creating a customized look and feel for Web pages in an organization—typically in the header pane of a container page

    Page Navigation

    Provides a graphical user interface that lets users navigate to all container, shared, and personal pages that they are authorized to access—typically in the navigation pane of a container page

    Portal Page Controller

    Displays the currently selected shared page or personal page in the container page—typically in the content pane.

    IMPORTANT:   Every container page must contain one Portal Page Controller portlet to designate the area for displaying the content of a shared or personal page. The Portal Administration tool automatically adds this portlet to each container page you create.

    You will learn more about these portlets in later exercises.

  4. Add the Bookmark portlet to your container page by following these steps:

    1. Select Accessory Portlets from the Filter dropdown:

      tutwwpContentSelectorAccessoryPortlets

      The complete list of accessory portlets appears in the Available Content list.

    2. Select Bookmark and click Add.

      The Bookmark portlet is added to the Selected Content list.

  5. Click Close to close the Content Selector tool.

TIP:   Now you are ready to arrange content based on the layout of your container page. Leave the page selected in the container page administration tool and move to the next exercise.

 
Top of section

Arranging content on a container page

You use the Layout Selector to position portlets within the layout of the container page.

Procedure To arrange content on a container page:

  1. With your container page selected in the container page administration tool, select Arrange Content:

    tutwwpContainerArrangeContent

    The Layout Selector tool opens in your browser.

    tutwwpContainerLayoutSelector

    NOTE:   The Portal Administration tool makes its best guess as to where to place portlets within the Header Nav Content layout. For example, it appropriately places the Page Header portlet in the Header pane, Page Navigation portlet in the Nav pane, and Portal Page Controller portlet in the Content pane. However, you will move the Bookmark portlet to the Nav pane in the next step.

  2. In the Layout Selector tool, move your cursor over the Bookmark portlet, hold down the left mouse button, drag the portlet to the Nav pane, and release the mouse button. Bookmark should appear under the Page Navigation portlet, as shown:

    tutwwpContainerArrangeContentBookmark

  3. Click Save Layout to record your changes and close your browser.

TIP:   Now you are ready to view your container page. Close all browser windows and move to the next exercise.

 
Top of section

Viewing a container page

There are several ways to view a container page:

This section describes both procedures.

Procedure To view a container page from a navigation link:

In this exercise, you will view your container page from a navigation link on the default portal page for portal administrators. The navigation links are generated by the Page Navigation portlet. You will learn more about this portlet in a later exercise.

  1. Open a new browser, start the ExpressPortal application, and log in as the portal administrator.

    TIP:   You can review these steps in Starting the Portal Administration tool.

  2. Expand the dropdown list under Container Pages:

    tutwwpContainerNavDropdown

    NOTE:   MyContainerPage appears at the top of the navigation list because you assigned the page a priority of 0, the highest priority.

  3. Select MyContainerPage.

    MyContainerPage displays in your browser:

    tutwwpMyContainerPageAnnot

    As you can see, the Portal Page Controller portlet displays the content of exteNd Welcome—the shared page you designated as the default shared page for your container page in the exercise Creating a container page. This shared page contains two portlets—Novell exteNd Introduction and Welcome Message—which generate the content you see in the Content pane of MyContainerPage.

Procedure To view a container page by typing an URL directly in a browser:

  1. In your current browser session, enter the following URL to view MyContainerPage:

      http://server/ExpressPortal/portal/cn/MyContainerPage
    

    For example, if your server is localhost, enter:

      http://localhost/ExpressPortal/portal/cn/MyContainerPage
    

    MyContainerPage displays in your browser.

    NOTE:   If you enter the URL in a new browser session, you will need to log in again as the portal administrator, as described in Starting the Portal Administration tool.

 
Top of page

What to do next



Copyright © 2004 Novell, Inc. All rights reserved. Copyright © 1997, 1998, 1999, 2000, 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved.  more ...