.NODE

Using the Page Designer

Designing pages is very much like designing forms, except that, as you already know, you can't add any fields. Just as with a form, a number of events are available that can be programmed. Some events can be programmed in the Formula language, some in LotusScript, and others in JavaScript. HTML is involved in two events: HTML Head Content and HTML Body Attributes. Table 8.1 lists each event by language.

Table 8.1. Page Events by Language

Formula JavaScript LotusScript
Window Title JS Header Options
HTML Head Content onBlur Declarations
HTML Body Attributes onClick QueryOpen
Target Frame onDblClick PostOpen
  onFocus PostRecalc
  onHelp QueryClose
  onKeyDown Initialize
  onKeyPress Terminate
  onKeyUp QueryRecalc
  onLoad  
  onMouseDown  
  onMouseMove  
  onMouseOut  
  onMouseOver  
  onMouseUp  
  onUnload  

As you do with a form, you should always specify a window title; the remaining events can be used when needed. You can see some of the events in the Objects tab in Figure 8.5.

Figure 8.5. The diamond beside Window Title is filled in the Objects tab of the Page Designer when code is present for the event.

graphics/08fig05.jpg

NOTE

For more information about the Designer IDE, see Chapter 3, "The Integrated Development Environment."

 

Using HTML in Pages

Two events that can be programmed with the Formula language add HTML to a page: the HTML Head Content and the HTML Body Attributes events. The HTML Head Content creates HTML between the

and tags of the HTML document. For example, if you want to embed style information or use a Cascading Style Sheet for the page, you include it in the HTML Head Content event using the

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

show all menu





Lotus Notes and Domino 6 Development
Lotus Notes and Domino 6 Development (2nd Edition)
ISBN: 0672325020
EAN: 2147483647
Year: 2005
Pages: 288
Similar book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net