Developing exteNd Director Applications

CHAPTER 5

Working with exteNd Composer Projects

This chapter explains how to add new and existing exteNd Composer projects as subprojects of your current project. It contains the following sections:

 
Top of page

About exteNd Composer projects

Before you run the Composer Pageflow Wizard, you need to add an exteNd Composer subproject to your exteNd Director project. You can do this in either of two ways:

Once you've added the exteNd Composer subproject to your exteNd Director project, you need to deploy your exteNd Director project at least once. Then you can begin to take advantage of the vulturing capabilities provided by the resource set (since the exteNd Composer subproject is added to the resource set). The resource set ensures that any change you make to an exteNd Composer project artifact is automatically picked up by the server and can be tested right away. This is also true of the pageflow, since pageflows are also stored in the resource set as well.

NOTE:   The resource set being used by exteNd Composer must be the same one used by the pageflow. If they are not the same, the pageflow will not be able to find all of the resources associated with the service.

For more information    For complete details on working with exteNd Composer services, see the exteNd Composer help. For details on creating exteNd Composer pageflows, see the chapter on using the Composer Pageflow Wizard in the Pageflow and Form Guide.

Working in the Express Portal project   The Express Portal project contains a exteNd Composer subproject. Therefore, if you plan to work in the Express Portal project, you do not need to add an exteNd Composer subproject.

 
Top of page

Creating new exteNd Composer projects

Procedure To create a new exteNd Composer project within an exteNd Director project:

  1. In the exteNd Director development environment, open the exteNd Director project that will contain the exteNd Composer subproject.

  2. Select File>New>Project.

    The New Project dialog appears.

  3. Select the Composer tab and choose Composer Project:

    ComposerProjectWizard1

  4. (Required) Type a project name. exteNd Director adds the project name extension (.spf).

  5. Specify the directory where you want your project to reside. Select ... to browse the directories on your computer.

  6. Enter a deployment context string in the bottom-most text field of the dialog. The string should contain labels (no spaces) separated by periods, as in composer.myapp.

    NOTE:   The context string should not contain Java-language keywords, such as try, catch, finally, int, for, and so forth.

  7. To launch exteNd Composer after the project is created, leave the Launch Composer checkbox selected:

    ComposerProjectWizard2

  8. Click Finish. The window appears with the name of the project you just created in the title bar.

 
Top of page

Adding existing exteNd Composer projects

Procedure To add an existing exteNd Composer project to an exteNd Director project:

  1. In the exteNd Director development environment, open the exteNd Director project that will contain the exteNd Composer subproject.

  2. Select File>New Project.

    The New Project dialog appears.

  3. Select the Composer tab and choose Existing Composer Project:

    ComposerProjectWizard3

  4. Specify the directory where you want your project to reside. Select ... to browse the directories on your computer.

  5. To launch exteNd Composer after the project is created, leave the Launch Composer checkbox selected.

    ComposerProjectWizard4

  6. Click Finish. The window appears with the name of the project you just created in the title bar.



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