Course 4: Assemble NSF-based compound applicationsProgram
Create NSF-Based Compound Application
Follow these steps to create an NSF-based compound application:
In Lotus Notes V8, open the workspace through the open list. Select open-applications-workspace to access the properties of the application from the workspace of Lotus Notes.
In the menu, select File-Application-New. The new application dialog box is displayed.
Retain the local value of the server field.
Enter "customer interests" in the title field ".
Enter customerinterests. nsf in the file name field ".
In the template field, select-blank Composite Application -. The dialog box is shown in Figure 16.
Figure 16. New Application dialog box
Click OK to close the dialog box and create a new database. Create a new Lotus Notes application and display an empty gray window, as shown in figure 17.
Figure 17. nsf-based compound application before editing
Note: The newly created NSF-based Composite Application uses a new database launch attribute. For any NSF created using this template, set the first option "when opened in the Notes client" in the dialog box to "launch as Composite Application", as shown in Figure 18. Open the Lotus Notes workspace and access the application properties. To access the Lotus Notes workspace, select applications from the open list and select workspace.
Figure 18. Launch signature in the database properties box
Now you have created an NSF-based compound application. It stores XML in the Lotus Notes application design element. The Lotus Notes V8 client displays the Composite Application to users using the launch property and XML. This NSF-based composite application can reside on the Lotus Domino Server or be copied to the local machine.
In subsequent courses, we use the Composite Application Editor (CAE) feature to specify XML, and assemble the NSF component and eclipse component into a composite application. You also need to use CAE to connect attributes and actions so that components can form a loose relationship between events and actions.