329 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Blogs | Search | myPL | About 
 
Sorry, no records were found!
Latest 7 Posts
An update on using Mercurial in Domino Designer
Mon, Oct 15th 2012 103
Simple Date Formatting in SSJS
Mon, Aug 20th 2012 169
Welcoming Devin To The Team
Thu, Jul 12th 2012 95
Creating a simple Organizational Chart in XPages
Mon, Jul 9th 2012 267
Generating a CSV file from XPages
Thu, Jun 7th 2012 160
Some notes for the XPage Controls developers
Wed, Jun 6th 2012 137
Some notes for Domino Application Developers
Tue, Jun 5th 2012 131
Top 10


Guiding users to missing information in XPage applications
Declan Sciolla-Lynch    

I’m currently in the process of rewriting our internal HR system in XPages, It is a typical Notes/Domino application. each employee has a single document in the system that records all their employment data. There are a LOT of fields and in the Notes Client version of the application you would be able to design your form with a tabbed panel so you don’t have lots of fields on a single page.

In XPages you have the advantage of separating the design of the application from the backend data and with that in mind I decided to break the form out into different pages in the application with each page just displaying a subset of the information required and using the Extension Library Application Layout control to manage the overall layout of the form.

In the Notes Client version of the application when the user hit the save button it would display a list of the required fields that were missing but in the XPage version of the application the missing fields could be on a different page so I had to come up with a new way to show that the record was missing some information.

What I did was in the ‘save’ event I check each of the required fields for valid data, if I found that there was missing data I would set an overall ‘incomplete’ flag and also set two other flags, one for the tab where the data was missing and one for the navigator menu option where the data was missing. Then in the PageTreeNodes that define the tabs and navigator menu options I set the image to be calculated depending on the presence of the appropriate flag.

As you can see from the screenshot if there is something missing an exclamation mark graphic is displayed in the tab/menu. This allows the HR staff to quickly see exactly where they need to click to access the page with the missing information.

Hopefully somebody will find this useful and will be able to use this design pattern in their own applications.



---------------------
http://www.qtzar.com/blog/guiding-users-to-missing-information-in-xpage-applications/
May 30, 2012
65 hits



Sorry, no records were found!
Recent Blog Posts




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition