Archive

Archive for the ‘Notes Java’ Category

Lotus Notes Web Accessibility Compliant Drop Down Menus

First, I’ll address the accessibility side of the menu. To make the menu available to screen readers, the menu options are placed in standard HTML ordered and unordered lists. Each list element has clickable text that takes you to the appropriate location. I’ll omit the actual HREF values (you can view the source and see them for yourself), but here is the HTML used to generate the menu:

Read more…

Viewed 9237 times by 2427 viewers

Lotus Notes Java Capturing Keystrokes

Why would you want to?

Well, there’s a few reasons we can think of. First, you may want to capture the ESC key and trigger a JavaScript history.back() function so the ESC key on the browser will mimic the ESC key in the Notes client.
Read more…

Viewed 5584 times by 1591 viewers

Lotus Notes use JavaScript Sorting

Many of you are aware of the built-in sort function for sorting JavaScript arrays. But you might not realize the true power of this function. This tip will talk about how this built-in function can be used to sort multi-dimensional arrays.
Read more…

Viewed 7231 times by 2244 viewers

Lotus Notes java error “Custom No Documents Found Message”

For a recent customer, we were using quite a few views on the web, and there was one view template for all the views. With a couple of the views there was a chance for the view to be empty, which leads to the standard No documents found Domino message. This customer wanted to customize this message. Luckily, the site was for an intranet and all their employees used IE, so the solution was quite a bit easier than what we’ve done in the past.
Read more…

Viewed 7033 times by 1839 viewers

Determine Java JVM Version in Lotus Notes

For those of you that write Java in Notes, you have probably realized that it doesn’t matter what version of the Java Virtual Machine (JVM) you have installed on your system (workstation or server) because Notes uses a set JVM version. But which one? This little piece of Java code can tell you what JVM is being used.
Read more…

Viewed 7425 times by 2250 viewers

Fix LS2J error causes java.lang.StackOverflowError

When you use an LS2J agent to connect to an external database and retrieve large amounts of data, then create a new JavaObject for each row of data, the following error occurs:

“LS2J Error: Threw java.lang.StackOverflowError”

Read more…

Viewed 10424 times by 2402 viewers