![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Portal Guide
CHAPTER 2
This chapter provides an introduction to the Express Portal. It contains the following sections:
To give you a head start in building applications, exteNd Director provides a default project called Express Portal, which is a complete Portal application based on the standard exteNd Director project template. You can use this application out of the box to:
Build your own customized production-quality portal by adding and modifying portlets and pages, and customizing the presentation layer
The Express Portal is available in several modalities, depending on how you install the exteNdTM product suite:
Type of exteNd suite installation |
Project available on file system |
Application deployed to exteNd Application Server |
---|---|---|
Express |
|
|
Custom |
|
|
Server |
|
|
Tools |
|
|
The Express Portal project is a standalone exteNd Director WAR project that encapsulates the custom logic and resources of the Express Portal application. This project is based on the Standard Director Template, which is installed at:
exteNd suite install directory\Director\templates\Director
For more information about project templates, see the chapters that cover working with projects in Developing exteNd Director Applications.
If you install the exteNd suite using the Express or Custom install, the Express Portal project is added to your suite install directory. You can then open the project in exteNd Director and customize it with your own business logic—for example, by adding new portlets, pageflows, forms, and other Web resources such as JSPs and servlets.
To access the Express Portal project in exteNd Director, see Opening the Express Portal project.
The Express Portal project has the following specifications:
Specification |
Express Portal |
---|---|
Type of project |
exteNd Director Project WAR that includes:
|
Name of project |
ExpressPortal |
Directory location |
exteNd suite install directory\Projects\ExpressPortal |
exteNd Director database |
exteNd suite install directory\MySQL\data\expressportal |
JDBC connection pool |
JDBC/ExpressPortal |
Server profile |
Novell exteNd 5_x |
Deployment plan |
ExpressPortal_DeplPlan.xml |
Resource set |
ExpressPortal-resource |
Uses shared libraries? |
No
|
Subsystems included |
All:
|
If you installed the exteNd suite using the Express or Custom install option, you can open the ExpressPortal project in exteNd Director.
To open the Express Portal project:
Start exteNd Director from the program group in the Windows Start Menu by selecting Novell exteNd 5.0>Director>Director Designer.
The first time you start exteNd Director, it opens the ExpressPortal project automatically on your desktop:
If the ExpressPortal project does not open automatically, follow these steps:
In a shared library environment, only one portal application can be deployed to the application server at a time. Because the Express Portal project does not use shared libraries, you can deploy other portal applications to the server where Express Portal is running.
NOTE: You must use a shared library environment if you plan on using Portlet Application WARs.
You can use the Express Portal project in several ways:
As a model portal application. in exteNd Director. By exploring the structure and function of the Express Portal project, you can learn by example how to develop your own portal applications in exteNd Director.
As a starting point for a developing a production-quality application. You can customize the Express Portal project by adding your own portlets, pages, and other Web application resources.
Changing the application context If you want to use the ExpressPortal project as the starting point for developing your own application, you need to change the application context. To do this, you need to replace the string ExpressPortal with the context name for your application. You need to do this in several places:
You need to set the name of the deployment context. This varies from one application server to another.
TIP: For the exteNd Application Server, you need to set the name of the deployedObject and url in the deployment plan. You can optionally change the warJarName as well, but if you do this, you must also change the Archive File Path in the Project Settings for your project.
In the web.xml file for the project, you need to change the display-name element.
In the config.xml file for the Portal subsystem, you need to change the value of the portal.context property.
In the config.xml file in WEB-INF/conf, you need to change the name of the key for the resource set (ExpressPortal/resourceset) to specify your context rather than ExpressPortal. You do not need to change the value for this key.
These properties must all have matching values for the context name.
To ensure that your application runs as expected, you should use a new database for exteNd Director data.
To get started, see the chapters on working with projects in Developing exteNd Director Applications.
The Express Portal application is a working portal that you can use as soon as you install exteNd Director. It provides the full complement of functions contained in the exteNd Director Portal subsystem.
If you installed the exteNd suite using the Express install option, the Express Portal is deployed to the exteNd Application Server at installation time and ready to run. To get started, see Starting the Express Portal application.
If you installed the exteNd suite using the Custom install option, you need to deploy the Express Portal application to your exteNd Application Server before you can run it. See Deploying the Express Portal.
The following procedure assumes that the Express Portal has been deployed to your exteNd Application Server. If you need to deploy the Express Portal, see Deploying the Express Portal.
To start the Express Portal application:
Open a browser and enter the following URL:
http://server name/ExpressPortal/portal
The default portal page opens in your browser, allowing you to enter the portal Web tier as a guest user:
Guest users have limited access to the exteNd Director portal. To take full advantage of its features—for example, to personalize the portal as an end-user or administrator—you must log in as an authorized user.
Click Login in the upper right corner of the page.
The exteNd Director Login portlet opens in your browser and prompts you to log in to the portal:
Enter your user name and password, then click Login or press the Enter key.
The default Express Portal page opens in your browser.
If you are a portal administrator (member of the PortalAdmin group with PROTECT permission) or a locksmith user, you'll see a default portal page with content tailored to administrators:
To learn about portal administration capabilities, see the chapter on administering the portal.
If you are any other type of user, you'll see a default portal page with content designed for users who do not have administrative privileges:
To learn how to customize your portal environment, see the chapter on personalizing your portal.
Now you are ready to work with the Express Portal application. To get started, see What you can do with the Express Portal application.
What happens when your session times out If you've logged in to the Portal, the portal tracks your session and notifies you if the session has timed out. When your session times out, the Portal redirects you to a session timeout page (which is rendered by the SessionHandler portlet). This page provides a link that allows you to return to the previous page with a new session.
NOTE: The web.xml file for the portal application includes a context parameter called UseSessionHandlerPortlet that allows you to control the behavior of session timeouts. If you do not want the SessionHandler portlet to manage timeouts, you can set this parameter to false. The default setting is true.
Different levels of access are available for the Express Portal application. All users can work with Express Portal to personalize their private portal environments; administrative functions are more restrictive, available only to portal administrators and shared page owners.
A portal administrator is a user who has been assigned to the PortalAdmin administrative group with PROTECT permissions. The portal administrator can assign users to be owners of shared pages.
The following table summarizes how different types of users can work with Express Portal:
Task |
Portal administrator |
Shared page owner |
All users |
How? |
---|---|---|---|---|
Create and modify Personal Pages |
|
|
|
|
Create and modify Container Pages |
|
|
|
|
Create Shared Pages |
|
|
|
|
Modify Shared Pages |
|
NOTE: These users can modify only the shared pages that they own |
|
|
Assign pages to users and groups |
|
|
|
|
Assign shared page owners |
|
|
|
|
Apply a theme to your portal |
|
|
|
|
You deploy the Express Portal the same way you deploy other exteNd Director applications, as described in the chapter on deploying exteNd Director applications in Developing exteNd Director Applications.
IMPORTANT: In a shared library environment, only one portal application can be deployed to the application server. Because the Express Portal application does NOT use shared libraries, it can coexist with other applications on your server.
For more information on configuring a shared library environment, see the chapter on reconfiguring exteNd Director projects in Developing exteNd Director Applications.
You undeploy the Express Portal the same way you undeploy other exteNd Director applications.
Copyright © 2003 Novell, Inc. All rights reserved. Copyright © 1997, 1998, 1999, 2000, 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved. more ...