Search DominoPower's 11,443 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.
How to reduce your Notes application development time by 15% (continued)

The other thing which we wanted this standard subform to do was act as a container for the "usual" action buttons that are normally placed directly onto a Notes form. This would eliminate the need for developers to have to add these buttons onto every form and the buttons would always act the same. The standard action buttons we came up with were Edit Document, Close Window, Save & Close, and Cancel.

Of course, the action buttons on our subform were written to make sure that they only displayed when they made sense ("Save & Close" is only available when the document is in edit mode, etc.).

Working with the developers on the team revealed a problem with this approach. There are applications that require special code to reside in these buttons to do things like perform workflow or restrict access to only certain individuals. We really wanted to keep the standard action button approach, so we added an additional field, shown in Figure B, to the base form: "ButtonsToHide". The ButtonsToHide field is a Text, Computed for display field which contains the names of the buttons which should be suppressed from displaying when the base form is rendered.

FIGURE B


Be sure to give your developers a way to suppress the display of the standard buttons. Roll over picture for a larger image.

With the standard subform in place, here's what our developers need to do in order to add a new form to any application:

  1. Create a new form by choosing Design->Form from the Create menu.
  2. Create the following Text, Computed for display fields at the very top of the form: FrmName, FrmLin2, FrmUpDate, ButtonsToHide.
  3. Add the "StdFormHeader" subform.
  4. Add the application specific fields for to the rest of the form.

Once all that's done, you're ready to include the new standard header in your forms, as shown in Figure C.

FIGURE C


Here's the StdFormHeader subform in use on a form. Roll over picture for a larger image.

What did this very simple bit of coding do for us? It has standardized the top of our forms and ensured that all form action buttons work the same way. Users like it because they know ahead of time how a form will look and developers like it because it reduces the amount of drudge work which they have to do on forms. It also allows newly hired developers to be sure that they're producing comparable interfaces to those created by our more experienced developers.


« Previous  ·  1  ·  2  ·  3  ·  4  ·  5  ·  Next »
Other articles you might like
Home > Lotus Technologies > Notes (84 articles)
   A walk down Memory Lane with Lotus Notes
   An application for scanning physical mail and distributing it virtually
   Managing Notes deployments with Teamstudio Build Manager
Home > Tips & Techniques (102 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   A faster way to repair corrupted server files
Home > Lotus Technologies > Application Development (48 articles)
   An application for scanning physical mail and distributing it virtually
   How hide-whens in Rich Text can ruin your whole day (and what to do about it)
   Little known traps about Lotus Notes fields
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
Syncing Notes with Android phones
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Online safety for virtual learning
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Seek and find: Strategies to locate filed-away emails fast
-- Advertisement --

Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.

The many included activities and demos will make you a pro! Expert instructor help is a click away.

Click here to try a FREE demo course!!

-- Advertisement --

Integrate your Notes Applications with Microsoft Office and Symphony
Integra for Notes Integrates Microsoft Office and/or IBM Lotus Symphony
Requires NO change to the design of the appliation or Installations of DLL's and EXE's
  • Integra is a ready to use solution, enhance static reports with Excel data analysis, pivot tables, macros
  • User friendly aproach, using a point and click access to features
  • Reports from any Lotus Notes databases
  • Runs reports through a Notes client, web browser and scheduled basis
  • Allows use of LotusScript for advanced data manipulation
  • Enables self service reporting capabilities to end-users


Learn more at www.integra4notes.com.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login