When I start a new XPages project, I use lots of code snippets and modules from previous projects. Many of these code snippets and modules are open source or available on blog posts from fellow XPages bloggers. In this blog post I will list some of these useful code snippets and modules and hope that this will inspire you and help you enhance your next XPages project.
Useful code snippets and modules:
- email bean by Tony McGuckin (for easy sending of emails)
- multi-page messages by Mark Leusink (for displaying "error" messages on one XPage that originates from another XPage)
- session expiration phase listener by Weihang Chen (for proper handling of the scenario where the session expires)
- localization setter by Sven Hasselbach (for setting the correct locale for the browser session)
- flashScope by Andy Cunliffe (for creating flashScope variables - a sort of view scope variable that can be used across pages)
- example customizer bean by Jesse Gallagher for the Dynamic View Control from Extension Library (for customizing the look of the generated output of the Dynamic View control)
- JSFUtil: originally introduced to XPages by Tim Tripcony, and since then modified and extended by several. Here's one version of JSFUtil by Jesse Gallagher. JSFUtil is a must-have for working with XPages in Java
- Standby Dialog custom control by Fredrik Norling (for making it obvious for the user of your app that server processing is taking place)
- XPages Document Locker by Fredrik Norling (for easy document locking)
- DbLookup & DbColumn, with cache, sort and unique by Tom Steenbergen (for improved DbLookup and DbColumn with caching support)
- SSJS Form Validation That Triggers ErrorMessage Controls by Don Mottolo (for central validation of input fields)
- DateConverter by Tommy Valand (for easy conversion of dates to/from strings)
- Display warning message if Internet Explorer uses Compatibility View mode by myself (useful for displaying a message to the user if Internet Explorer is set to run in Compatibility View mode)
- Phase listener to set IE to edge or X-UA-Compatible value by Mark Hughes (useful for instance for making Internet Explorer 11 behave by setting the value to "IE=10")
Of course, you should not forget all the useful libraries and tools available in OpenNTF Essentials (both in the Essentials Runtime and in Essentials Toolbox) such as the OpenNTF Domino API, XPages Debug Toolbar and XPages Log File Reader. Also of great value is Auto Logins which provides "remember me" functionality for your app.
I am honoured and proud to have been re-elected as IBM Champion with a group of 86 other 2014 IBM Champions for IBM Collaboration Solutions.
The 50th DanNotes conference took place yesterday and today.
Here is my presentation from my session on introducing developers to using Java in XPages:
IBM Notes 9.0.1 and IBM Domino 9.0.1 are now available for download on Passport Advantage.
Some of the 9.0.1 part numbers:
- IBM Notes Client 9.0.1 for Windows English: CIQ7REN
- IBM Notes Client 9.0.1 for Mac English: CIQ7UEN
- IBM Notes, Domino Designer and Admin 9.0.1 client: CIQ91EN
- SwiftFile 4.2.1 for IBM Notes 9.0.1 English: CRP4BEN
- IBM Domino Server 9.0.1 64 bit for Windows English: CIQ7WEN
- IBM Domino Server 9.0.1 64 bit for Linux for xSeries English: CIQ7ZEN
- IBM Notes Traveler 9.0.1 for Windows Multilingual: CIQ7BML
- IBM Notes Traveler 9.0.1 for Linux for xSeries Multilingual: CIQ7CML
- IBM Domino Social Edition OpenSocial component 9.0.1 64 bit for Windows English: CIQ85EN
- IBM Domino Social Edition OpenSocial component 9.0.1 64 bit for Linux for xSeries English: CIQ89EN
- IBM XWork Server 9.0.1 64 bit for Windows English: CIQ8DEN
- IBM XWork Server 9.0.1 64 bit for Linux for xSeries English: CIQ8HEN
I have worked with you as a director on the OpenNTF board since October 2011. We have spoken together at IBM Connect 2013 on our open source project Collaboration Today.
You are a great friend and mentor and I always enjoy our chats and talks on Skype.
Good luck with your new adventure at Clark College.
The 50th DanNotes conference takes place November 27-28, 2013 and also marks the 20th anniversary for the DanNotes user group.
I am part of the organizers team and we are hard at work planning the conference and have opened for session abstract submissions. If you are interested in speaking at the conference, please register and submit your session abstract.
We are looking for business related sessions, technical sessions, case stories and more. We are looking for speakers from all over the world.
One important point: DanNotes will take care of your travel and accommodation expenses! So what are you waiting for?