Book Image

Domino 7 Application Development

Book Image

Domino 7 Application Development

Overview of this book

Written by Lotus insiders, the book provides a practical guide to developing applications making use of the important features and enhancements introduced in Notes/Domino 7. These experienced experts use their own experiences to map out the benefits you could gain, and the dangers you may face, as you develop Domino applications in your business. Written by specific experts, edited and overseen by Lotus content generator Dick McCarrick, this book is the definitive guide to developing Domino 7 applications. TECHNOLOGY Domino is an application server that can be used as a standalone web server or as the server component of IBM's Lotus Domino product which provides a powerful collaborative platform for development of customized business applications. It also provides enterprise-grade email, messaging, and scheduling capabilities.
Table of Contents (18 chapters)
Domino 7 Application Development
About the Authors
About the Reviewer
Free Chapter
A Short History of Notes and Domino

Chapter 10. Code Samples

This chapter describes sample code that uses some of the new programming features offered in Lotus Notes/Domino 7. You can download a Domino database containing this code from here: These code samples illustrate a number of interesting features in release 7 while offering some practical examples you may be interested in incorporating into your own applications.

The samples we provide include the following features:

  • Save & Close action bar button

  • Preventing editing of fields and documents dynamically

  • Fast DBLookups

  • InViewEditing

The sample Domino database that accompanies this chapter contains examples of these features "in action".

The Save & Close Action Bar Button

Most Save & Close buttons don't account for QuerySave events or field validation formulas that might find invalid data and stop the save. You can tell you have such a button when it asks you a second time if you want to save the document, even after a pop up has told...