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.


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 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.

Part I. Introduction to Release 6

Whats New in Release 6?

The Release 6 Object Store

The Integrated Development Environment

Part II. Foundations of Application Design

Forms Design

Advanced Form Design

Designing Views

Using Shared Resources in Domino Applications

Using the Page Designer

Creating Outlines

Adding Framesets to Domino Applications

Automating Your Application with Agents

Part III. Programming Domino Applications

Using the Formula Language

Real-World Examples Using the Formula Language

Writing LotusScript for Domino Applications

Real-World LotusScript Examples

Writing JavaScript for Domino Applications

Real-World JavaScript Examples

Writing Java for Domino Applications

Real-World Java Examples

Enhancing Domino Applications for the Web

Part IV. Advanced Design Topics

Accessing Data with XML

Accessing Data with DECS and DCRs

Security and Domino Applications

Creating Workflow Applications

Analyzing Domino Applications

Part V. Appendices

Appendix A. HTML Reference

Appendix B. Domino URL Reference

Lotus Notes and Domino 6 Development
Lotus Notes and Domino 6 Development (2nd Edition)
ISBN: 0672325020
EAN: 2147483647
Year: 2005
Pages: 288 © 2008-2020.
If you may any questions please contact us: