Director Tutorials


Open and Explore the Express Portal Project

 
Top of page

Objective

To start getting familiar with the exteNd Director project for the Express Portal, which you can later use to:

Before you begin   See About exteNd Director Tutorials.

 
Top of page

Concepts

 
Top of page

Exercises

Procedure To open and explore the Express Portal project:

  1. Make sure that the Express Portal has been installed on your system.

    For more information    If you need help with Express Portal installation, see the chapter Preparing to Install exteNd 5 in Installing Novell exteNd or the chapter About the Express Portal in the exteNd Director Portal Guide.

  2. Start the exteNd Director development environment by doing one of the following:

    Platform

    What to do

    Windows

    1. Go to the list of all programs on the Windows Start menu.

    2. Select Novell exteNd 5.0>Director>Director Designer.

    Windows, Linux

    1. Go to the Novell exteNd tools/bin directory.

    2. Run the executable file named xd.

    The exteNd Director development environment is an integrated toolset for examining, editing, building, and deploying exteNd Director projects.

    tutexpProjDirTab

  3. In the Navigation Pane (on the left side of the window), click the Directory tab.

    This tab lets you browse your computer's file system. You'll use it now to see where the exteNd install has stored the files for the Express Portal project.

  4. Expand the directory path where you installed Novell exteNd. This is typically:

      C:\Program Files\Novell\exteNd5
    

    From there, expand and select the subdirectory Projects\Express:

    tutexpProjDirDrill

  5. Notice that the Projects\Express subdirectory contains:

  6. Double-click the Express.spf file.

    exteNd Director opens the Express EAR project and displays the Project tab of the Navigation Pane:

    tutexpProjSrcView

  7. Use the dropdown control on the Project tab to change the view to Archive layout, then expand and select ExpressPortal.war.

    This gives you a J2EE-oriented look at the ExpressPortal project; it shows the ExpressPortal files based on how they will be organized in the WAR file generated for this project:

    tutexpProjArcView

  8. Briefly explore the project's directories to get an idea of what they contain. In particular, expand and select the WEB-INF directory to find the project's:

    tutexpProjWebinf

  9. Expand WEB-INF\lib\ExpressPortal_resource.jar.

    This is a JAR subproject that's provided to store any custom artifacts you add to the application. Notice that it includes subdirectories for the various types of artifacts (such as forms, images, etc.):

    tutexpProjResource

    When you create new artifacts, they go into the appropriate subdirectory of ExpressPortal_resource.jar, where they automatically become part of the application's resource set (along with many pre-supplied files in other JARs).

  10. Click the Resources tab of the Navigation Pane:

    tutexpProjResTabDefault

    The Resources tab enables you to explore the Express Portal files based on how they participate in the application's resource set. It often provides the most convenient entry point when you need to examine or modify a particular aspect of an exteNd Director project.

  11. At the top of the Resources tab, make sure the child tab named View: view-name is currently selected.

    Then use the dropdown control on the tab to change the view to portal.resources.xml:

    tutexpProjResTabPortal

    As its name indicates, this view lists files used to implement the application's portal features.

  12. In this view, expand Portal Resources, then portal-theme, then BasicBlue.

    The files that implement the portal's BasicBlue theme are listed:

    tutexpProjResTabBBlue

  13. Double-click theme.xml.

    The BasicBlue theme descriptor opens in the theme descriptor editor (because this descriptor is a pre-supplied artifact, it is read-only). Now you can see how the BasicBlue theme is defined:

    tutexpProjThemeDesc

  14. Close the theme descriptor editor.

  15. Try exploring other items in this view or in any of the other views.

  16. When you're done exploring the Express Portal project, select File>Exit to close the project and quit the exteNd Director development environment.

 
Top of page

What to do next




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