Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
IBM Lotus Domino: Classic Web Application Development Techniques

You're reading from   IBM Lotus Domino: Classic Web Application Development Techniques This tutorial takes Domino developers on a straight path through the jungle of techniques to deploy applications on the web and introduces you to the classic strategies. Why Google it when it’s all here?

Arrow left icon
Product type Paperback
Published in Mar 2011
Publisher Packt
ISBN-13 9781849682404
Length 344 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Richard G Ellis Richard G Ellis
Author Profile Icon Richard G Ellis
Richard G Ellis
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

IBM Lotus Domino: Classic Web Application Development Techniques
Credits
About the Author
About the Reviewers
www.PacktPub.com
1. Preface
1. Preparation and Habits FREE CHAPTER 2. Design and Development Strategies 3. Forms and Pages 4. Navigation 5. Cascading Style Sheets 6. JavaScript 7. Views 8. Agents 9. Security and Performance 10. Testing and Debugging

Working with documents


Perhaps the majority of agents in an application are intended to manipulate one or more documents. On the Web, agents can be invoked by clicking buttons or hotspots on forms or pages. @Formulas coded to launch agents can take several forms, including these. The second example illustrates how to open an agent with a constructed URL.

@Command([ToolsRunMacro];"(TestAgent1)")
@URLOpen("/"+@WebDbName+"/TestAgent1?OpenAgent")

Agents are commonly run also as a result of loading or saving a document. Formulas in the WebQueryOpen and WebQuerySave form events determine which agents run at these points.

Topics in this section address issues related to creating agents to work with forms and documents on the Web.

Use WebQuerySave

After a web form is submitted, but before the document is actually saved into the database, an agent named in an @formula in the form's WebQuerySave event runs. If an agent is not invoked in this event, then no agent runs.

Code the WebQuerySave event as in...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image