Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
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

Opening documents in a separate window


The main purpose of a view is to provide a list of documents that can be opened by clicking on entries in the view. By default, documents open in the same browser tab or window as the parent view. If you want documents to open in a new window or tab, here is how this can be done:

If a view is displayed using the $$ViewBody field on a view template, modify the formula that creates the document links by adding the target attribute to the<a> tag. Here, target='_blank' is added to the @formula for the Computed form field docURLItem as discussed in a previous topic:

db := "/" + @WebDbName ;
vw := "/" + @Subset(@ViewTitle;1) ;
doc := "/" + @Text(@DocumentUniqueID) + "?OpenDocument" ;
link := db + vw + doc ;
"<li>" +
"<a href=\"" + link + "\" target='_blank'>" + ContactLast + "</a>" +
", " + ContactFirst +
"</li>"

If a view is displayed using an embedded view control, then specify _blank for the Frame attribute on the Info tab...

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