Search DominoPower's 10,675 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
PROGRAMMING POWER
Expanding and collapsing response document rows with Domino and Internet Explorer
By Andrew Stuart

When I first started Lotus Notes programming in 1991, I found that one of the most exciting and useful features in the Lotus Notes Client was the ability to have expanding and collapsing response document rows in Views. Expanding and collapsing response document rows allows the end user to browse core information, while still being able to drill down into any View row for more detailed information. The detailed information remains hidden from your end user until it's needed, making for a much cleaner and less cluttered view.

Implementing expanding and collapsing response document rows is trivially easy in Lotus Notes. The applications for expanding and collapsing response document rows were unlimited and pretty much every Lotus Notes application that I wrote included this functionality. Expanding and collapsing response document rows allowed me to keep my user interface clean and simple at the top level and yet still give the user access to further detail on demand. This is powerful and intuitive stuff.

The world changes however, and when the Web came along I stopped doing Lotus Notes client development entirely and switched to the Web browser as the client for all my software. I stuck with Lotus Domino as the server but left the Notes Client behind. Sadly, abandoning the Notes Client also meant abandoning some of the Notes Client's more powerful features, including expanding and collapsing response document rows in Views.

Lotus has implemented a kind of workaround for collapsing and expanding categories on the Web, in which you can click on little blue triangles in the Web browser, triggering a query to the Domino server which returns a page with the appropriate row expanded out. I never liked this functionality much however. I didn't like the look of the views, and I didn't like the fact that the browser had to go and do a round trip to the Web server to get a new page just to expand a row out. I really didn't like the goofy little blue triangles either--you know the ones I mean.

Fast-forward to 2001, and I had a new Lotus Domino application to build, for which I wanted expanding and collapsing response document rows. I wanted them in a Web browser. I wanted them without a round trip to the Domino Web server. I wanted them without hokey little blue arrows. I wanted them to be fast. I wanted them to look cool. I wanted to provide a "show/hide all" option that would expand or collapse all rows. Didn't want much, did I?

The key to the puzzle
The key to expanding and collapsing response document rows is the fact that Internet Explorer is able to hide or display any HTML page element using the Cascading Style Sheets "display" property. To hide an HTML page element, you must first identify the HTML page element with an ID attribute and add a style sheet to your HTML page. The style sheet must include a "display" rule for the HTML element referred to by the ID. The word "block" means show, and "none" means hide. Here's a simple example:


1  ·  2  ·  3  ·  Next »
Other articles you might like
Home > Lotus Technologies > Application Development (47 articles)
   How hide-whens in Rich Text can ruin your whole day (and what to do about it)
   Little known traps about Lotus Notes fields
   Integrating a Notes Connector database with Google Enterprise Search
Home > Internet Technologies > HTML and CSS (15 articles)
   Using a reusable code approach to HTML select option lists
   One reader's opinion on HTML mailing
   Keep lookin' good with Cascading Style Sheets
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
What to look for in a Domino-based document management solution
Understanding Domino.doc end-of-life options
When the debugger won't debug hidden code that isn't hidden
What to do if the LotusScript debugger won't single-step over code
Top 10 ways to launch and build a Lotus consulting practice (with a little help from the Beatles)
Troubleshooting an OpenSuse Notes install
Incident report: denial of service attack against ConnectedPhotographer.com
Latest Lotus Headlines
SnTT - Enabling ALL the bells and whistles!
Tivoli Data protection causes Domino to crash
Fun when running DB2 CLP scripts
Introducing Flippr, the easy way to admin Quickr
DXL and fake security
Using search forms in IBM Workplace Collaborative Learning 2.7
Schmidt, Freed, and Gering on the OVF Toolkit
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Eight steps to successful and reliable home backups
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Can Outlook run when it's not running (and other mysteries)?
-- Advertisement --

PistolStar: Lotus Notes Authentication That Breaks the Status Quo
Password Power's complete integration with the Microsoft Active Directory password enables Notes client access, ends time-consuming Notes ID password recovery and addresses known issues with Notes 8.5:
  • Passwords are encrypted in volatile memory - not stored on user's hard drive
  • Notes roaming capabilities are fully functional - not limited
  • Password checking is honored - no decreased security or failed compliance
  • All Notes ID file copies are synched automatically with Active Directory password - no remembering old passwords or restoring ID files


Learn more about Password Power's powerful, advanced functionality.
-- Advertisement --

Easy Domino Access: Remove Passwords, End Login Prompts, Reduce Password Management
PistolStar's Password Power provides browser-based single sign-on to Lotus Domino, Sametime and Quickr with the enhanced security of the Kerberos or NTLM authentication protocol.

  • Full support available for NTLM authentication protocol in non-Active Directory environments
  • Seamlessly integrate Microsoft Active Directory and the Kerberos authentication protocol
  • Leverage Active Directory password policies to unify Lotus applications


Learn more about Password Power's powerful, advanced functionality.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2009, ZATZ Publishing. All rights reserved worldwide.
Editor's Login