Skip Headers
Oracle® Fusion Middleware Tutorials for Oracle WebLogic Portal
10g Release 3 (10.3.4)

Part Number E14252-02
Go to Documentation Home
Home
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
View PDF

4 Assembling a Desktop in Your Staging Environment

This tutorial helps you learn how to use the WebLogic Portal Administration Console for some basic portal configuration tasks.

For more information about each page of the wizards used in this chapter, see the Oracle Fusion Middleware Portal Development Guide for Oracle WebLogic Portal.

4.1 Before You Begin

The tasks described in this chapter are based on those described in Chapter 2 and Chapter 3; so it is important that you complete those tutorials before starting the tasks described here.

4.2 Introduction to the WebLogic Portal Administration Console

The WebLogic Portal Administration Console is the tool that portal administrators use to not only control the behavior, content, and appearance of portals, but also to perform many traditional system administration activities such as user and security management. This tutorial focuses on basic tasks that assemble portals into desktops.

The WebLogic Portal Administration Console is organized according to the following categories of tasks (Figure 4-2):

4.3 Tutorial Steps

Using the tutorial, you will create a portal desktop based on the portal and portlets created previously, make some modifications to your desktop, and then view your results.

The tutorial includes instructions on how to perform these tasks:

4.3.1 Open the Administration Console

Before you can begin using the WebLogic Portal Administration Console, the server must be running. Depending on the state of your Oracle Enterprise Pack for Eclipse workbench, you might need to start the server before opening the Administration Console.

If you are continuing from Chapter 3 and you have not closed/opened Oracle Enterprise Pack for Eclipse, you can skip to Step 4.

If you closed Oracle Enterprise Pack for Eclipse after finishing the tutorial in Chapter 3, follow these steps:

  1. Start Oracle Enterprise Pack for Eclipse and return to the workspace that you used for the previous tutorials. You can run the executable file <MW_HOME>/oepe_11gR1PS1/eclipse/eclipse.exe. On Windows, you can also start the IDE from the Start menu by selecting Start > My Programs > Oracle WebLogic > Eclipse for WebLogic 10.3.4.

  2. In the Servers view, click the server to select it.

  3. On the Servers view toolbar, click the Start the server icon.

    Wait while Oracle Enterprise Pack for Eclipse starts the server. This process might take some time, depending on the speed of your system. When the process completes, the Status column in the Servers view displays Started and the Stop the server square icon becomes active.

  4. From the menu bar, select Run > Open Portal Administration Console, as shown in Figure 4-1.

    Figure 4-1 Menu Selection for Run > Open Portal Administration Console

    Description of Figure 4-1 follows
    Description of "Figure 4-1 Menu Selection for Run > Open Portal Administration Console"

    The Administration Console login dialog appears.

4.3.2 Log in to the Administration Console

The Administration Console login dialog requires a WebLogic Server system administrator or a WebLogic Portal administrator user name and password. WebLogic Server system administrators have full security privileges for the entire domain and can log in to and use the WebLogic Server Administration Console tools. WebLogic Portal administrators have full security privileges for a Portal web project, which can include multiple portals.

Table 4-1 shows the default system administrator user names and passwords.

Table 4-1 Default User Names and Passwords for the WebLogic Portal Administration Console

User Name Password Description

weblogic

webl0gic

WebLogic Server system administrator with full privileges in the domain.

Note: This username and password must match the values you provided when you created the domain in Section 2.2.1, "Create a Portal Domain." In this case, remember that the "0" in the password is a zero.


For purposes of this tutorial, you will use the default WebLogic Server login so that you have full privileges.

To log in to the WebLogic Portal Administration Console:

  1. In the Administration Console login dialog, enter the user name weblogic and password webl0gic, and then click Sign In. This username and password must match the values you provided when you created the domain in Section 2.2.1, "Create a Portal Domain."

    The main menu of the Administration Console displays.

    Figure 4-2 Administration Console Main Page

    Description of Figure 4-2 follows
    Description of "Figure 4-2 Administration Console Main Page"

4.3.3 Create a Portal and Desktop

To create a desktop, you first create a portal to contain it.

To create a portal and desktop, follow these steps:

  1. Click the Portal Management menu shortcut on the Administration Console home page.

    The Portal Management page displays; the Portal Resources tree displays on the left on the page, as shown in Figure 4-3.

    Figure 4-3 Portal Resources Tree in the Administration Console

    Description of Figure 4-3 follows
    Description of "Figure 4-3 Portal Resources Tree in the Administration Console"

    Notice that the display is based on the Portal Web Project you created in Chapter 3. If you expand the Library > Portlets portion of the tree, you can see the portlets that you created earlier.

  2. Click Portals in the tree.

  3. In the Browse Portals tab on the Portals page, click Create New Portal.

    Because no portals exist yet, the table containing portals is empty.

  4. In the Create a New Portal dialog, enter values for the portal, using Table 4-2 as a guide.

    Table 4-2 Create a New Portal Dialog Field Values

    Field Value

    Portal Name

    myPortal

    Partial URL

    myPortal

    URI (default resource)

    (leave blank)


  5. Click Create New Portal.

    When the Portals page displays again, the Browse Portals table includes the portal you created, and the Portal Resources tree lists the new portal.

  6. Click myPortal in the Browse Portals table to view the details for this portal.

  7. In the Browse Desktops tab of the portal page, click Create New Desktop.

  8. In the Create Desktop wizard, enter values for the desktop in the appropriate wizard pages, using Table 4-3 as your guide:

    Table 4-3 Create Desktop Wizard Page Values

    Wizard Page Value/Selection

    Step 1: Select Create Method

    1. Select the Select a .portal file radio button.

    2. Click Next.

    Step 2: Select Source

    1. Click Show All.

      The portal you created using Oracle Enterprise Pack for Eclipse displays in the list.

    2. Select myPortal.portal.

    3. Click Next.

    Step 3: Enter Desktop Properties

    • Title – myDesktop

    • Description – general desktop

    • Partial URL – myDesktop

    • Default Shell – (leave as is)

    • Look and Feel – (leave as is)


  9. On the Enter Desktop Properties page, click Review Properties to review the desktop properties.

  10. On the Review Properties page, click Create Desktop to create the desktop.

    A confirmation dialog confirms that the desktop has been created and displays related information.

  11. Click Finish to return to the main Administration Console page.

    The newly created desktop is listed in the Browse Desktops table and the Portal Resources tree. Figure 4-4 shows the expanded tree.

    Figure 4-4 New Desktop in Portal Resources Tree

    Description of Figure 4-4 follows
    Description of "Figure 4-4 New Desktop in Portal Resources Tree"

    Notice that the portlets that you created for this portal (which was used as the template for this desktop) appear automatically in the new desktop.

4.3.4 Update the Desktop Page Contents to Rearrange Portlets

In this task, you view the portlets for a desktop page—the portlets that you created using Oracle Enterprise Pack for Eclipse—and rearrange them on the page. Then you will view your work.

To update your desktop page:

  1. In the Portal Resources tree for myPortalWebProject, expand the tree to display the pages for the desktop, as shown in Figure 4-4.

  2. Click Page 1 to select it.

  3. In the Page 1 page on the right, select the Edit Contents tab.

    The Edit Contents tab of Page 1 displays the JSP portlet and the browser portlet. (Figure 4-5)

    Figure 4-5 Page 1 Edit Contents Tab

    Description of Figure 4-5 follows
    Description of "Figure 4-5 Page 1 Edit Contents Tab"

  4. Drag the browser portlet onto the same placeholder as the Simple JSP Portlet, as shown in Figure 4-6.

    Figure 4-6 Moving the Browser Portlet by Dragging

    Description of Figure 4-6 follows
    Description of "Figure 4-6 Moving the Browser Portlet by Dragging"

    When you release the mouse button, the browser portlet appears below the Simple JSP Portlet, as shown in Figure 4-7.

    Figure 4-7 Result After Moving the Browser Portlet in the Administration Console

    Description of Figure 4-7 follows
    Description of "Figure 4-7 Result After Moving the Browser Portlet in the Administration Console"

  5. Click Save Changes.

  6. In the Portal Resources tree, click myDesktop.

  7. In the Details tab, click View Desktop.

    The desktop displays in a browser, with the portlets in their new positions, as shown in Figure 4-8.

    Figure 4-8 Desktop in Browser Showing Portlets Rearranged

    Description of Figure 4-8 follows
    Description of "Figure 4-8 Desktop in Browser Showing Portlets Rearranged"

4.3.5 Create a New Page on the Desktop

In this task, you will create a new page for your desktop.

To create a page on a desktop:

  1. In the Portal Resources tree for myPortalWebProject, expand the Library node.

  2. Click Pages, as shown in Figure 4-9.

    Figure 4-9 Expanded Portal Resources Tree Showing Desktop Pages

    Description of Figure 4-9 follows
    Description of "Figure 4-9 Expanded Portal Resources Tree Showing Desktop Pages"

  3. In the Browse Pages tab of the Pages page, click Create New Page.

  1. In the Create New Page dialog (Figure 4-10), enter values for the new page, using Table 4-4 as a guide.

    Table 4-4 Create New Page – Field Descriptions

    Field Value/Description

    Title

    Tutorial Page

    Description

    new page for tutorial

    Layout

    Three Column Flow Layout

    Theme

    (leave as is - None)

    Hidden

    (leave as is - unchecked)


    Figure 4-10 Create New Page Dialog in Administration Console

    Description of Figure 4-10 follows
    Description of "Figure 4-10 Create New Page Dialog in Administration Console"

  1. Click Create.

    The new page is added, and is displayed in the Details page for the desktop; the Portal Resources tree updates to include the new page, as shown in Figure 4-11.

    Figure 4-11 New Page Added to the Portal Resources Tree

    Description of Figure 4-11 follows
    Description of "Figure 4-11 New Page Added to the Portal Resources Tree"

4.4 Summary

With the completion of this tutorial, you have created a basic desktop and performed some additional tasks to become familiar with the staging environment and the WebLogic Portal Administration Console.

To get started with actual portal development and desktop staging, see the Oracle Fusion Middleware Portal Development Guide for Oracle WebLogic Portal.