COMPOSITE APPLICATIONS - DESIGN AND MANAGEMENT


Adding components to the composite application
In this task, you use the Composite Application Editor feature to assemble the IBM® Lotus® Notes® components that you developed earlier into a two component composite application.

Note You must be using an online location to successfully complete this lesson.

You will use three procedures to add and wire components in the Composite Applications Editor. These are the following:


Launching the Composite Application Editor

Complete the following steps to open the Composite Application Editor feature.

1. If Lotus Notes 8 is not already running, start it now.

2. Click File > Open > Lotus Notes Application to open the MyCompApp composite application you created earlier. The Open Application dialog appears.

3. Click MyCompApp in the dialog. A new empty page entitled Blank Page appears.

4. Click Actions > Edit Application. The Composite Application Editor appears in a new window.

5. Select and right-click on the page labeled Blank Page on the Navigator on the left and select Rename... from the resultant menu.

6. Change the name to MyCompApp and press Enter to accept the new page name.

Adding components using the Composite Application Editor component palette

Complete the following steps to add components to the component palette of the Composite Application Editor feature.

1. Expand the Component Palette on the right by clicking on the rightmost "arrow" tab to open the display. Click on the "push pin" icon to keep this display open.

2. Place your mouse below the General folder, then right-click and select Add Components > Add NSF component. The New NSF Component dialog appears.

3. In the New NSF Component dialog, type the following values:

4. Click OK to accept these values. A progress indicator appears with the message "Provisioning components ...". The newly added component then appears in the Component Palette on the right .

5. To add a second component, again expand the Component Palette on the right, right-click under the General folder, and click Add Components > Add NSF Component. The New NSF Component dialog appears.

6. For your second component, type the following values:

7. Click OK to accept these values. A progress indicator appears with the message "Provisioning components ....". The newly added component then appears in the Component Palette on the right.
Defining visual placement of components on a composite application page using drag and drop

Complete these steps to define visual placement of components on the composite application page by using drag and drop.

1. In the General folder area, select My Discussion - All Documennt and drag the component from the component palette on the right to the Blank Application area in the center.

2. Repeat the previous step to place the My Discussion - Category Form component. Drag the component from the Component Palette on the right to the bottom half area in the center.

3. Continue to drag the component (represented by a small folder icon) to the bottom of the Blank Application space until a horizontal line appears to guide you in the placement of the component.

4. Release the mouse button over the desired position to place the component.

5. Click File > Finished Editing to save your changes and close the Composite Application Editor. If prompted, click Yes to save your work. The Composite Application Editor closes and the components appear in your Lotus Notes 8 composite application.

You have assembled a composite application. For the next task, you need to wire the application to allow one component to consume the property published by another component.

See Also