Lotus Notes 8.5 XPages Adventures #01: More usefull error messages (english)

David Marko  19 January 2009 11:00:00
When starting development in a new environment or programming language the bugs&errors are the first things you probably get. A good error messages are often the key for the decent development speedup. When I started XPages development I got error mesages every time I tried some new component. Default error messages you get from Domino server are completely useless. Its just a common text without showing any direction to problem and mostly looks like following screenshot:

Standard error message

Image:Lotus Notes 8.5 XPages Adventures #01: More usefull error messages (english)

Its not showing anything usesful considering the situation, you have a many components on one xpage. Fortunately developer can make a simple adjustment to get much better error messages that looks like this one:

Image:Lotus Notes 8.5 XPages Adventures #01: More usefull error messages (english)


To get such nice errors(if one can call the errors as nice :-) )  simply edit database properties in Domino Designer selecting the 'XPages' tab and enable the 'Display default error page' checkbox. In such a way you enable extended error messages for particular database. To make it  available site-wide, just make a few settings described in following article http://www-10.lotus.com/ldd/ddwiki.nsf/dx/error-management-in-xpages.htm

Image:Lotus Notes 8.5 XPages Adventures #01: More usefull error messages (english)
Comments
no comments availabe. Be the first!

Diskuse byla uzavřena.
TOPlist