Shared Code

Shared code components are not all new to Domino 6. In fact, each component has just been rearranged and regrouped in the Designer IDE under the Shared Code category in the folder pane. Shared code components consist of agents , outlines, subforms, shared fields, actions, and script libraries. Several shared code components are covered in their own respective chapters; this section gives you a little detail to get you started with your design.

Agents

New to Domino 6, the Agents resource has been moved to the new Shared Code category in the Domino Designer IDE. Agents are covered in detail in Chapter 11, "Automating Your Application with Agents."

Outlines

Outlines have been moved to the new Shared Code category in the Domino 6 Designer IDE. Outlines allow you to customize the Folder pane of an application by adding entries that will navigate the user to a desired design object or element. The outline in the Folder pane is how the application's elements are presented to the user in a categorized fashion. An outline can consist of a background graphic, custom icon, link, or action; it can be embedded on a form or page just like any other shared resource. When a user clicks an outline entry, Domino navigates the user to an element. You probably will recognize an outline on the Web as a vertical button bar or cascading menu bar, for example. Either way, elements are categorized and used for application navigation. Figure 7.12 shows an example from the Notes Mail database of how an outline with entries appears in Domino Designer.

Figure 7.12. The Notes Mail outline and its entries as exists in a Domino 6 mail database.

To create a new outline, select the New Outline button from the Outlines Shared Code category in the Designer IDE. Double-click the label to display its info box properties, as shown in Figure 7.13.

Figure 7.13. Creating a new outline in a Domino 6 mail database.

You'll want to name the outline, add an alias if needed, and set its options. Next, to add some entries for the outline, click the New Entry button. The Outline Entry info box displays, allowing you to name the entry, set its content and image properties, and define its options (see Figure 7.13).

Consult Chapter 9, "Creating Outlines," for a detailed account of creating and using outlines in Domino.

Категории