Dojo in XPages – 25: Badge — A Cool Image Widget that’s Hard to Explain
In this post, I’ll demonstrate how to create the Badge widget to display image thumbnails with size animation within a tabular structure. This is a cool variation of a gallery; it displays rows of...
View ArticleArticle Published in The VIEW: Getting Started with XPages Localization
Kathy Brown and I co-wrote and article on getting started with XPages Localization for The VIEW journal (subscription required). Abstract The enterprise is global. If your organization stretches across...
View ArticleDojo in XPages – 26: Combining Badge with LightboxNano
In the last two posts, I showed how to implement a Badge to display a set of thumbnail images with some animation as well as the LightboxNano widget to display an image in a specialized dialog. In this...
View ArticleThe Differences Between The resource and resources Tags in an XPages Theme
If you’ve modified a theme, you’ve almost certainly used resource tags to include stylesheets and client-side JavaScript libraries. Each resource tag specifies a single resource to include. However,...
View ArticleBook Review – Mastering XPages, Second Edition
I recently completed reading Mastering XPages, Second Edition. I read the previous edition cover to cover and did the same for this edition — it reinforced my understanding of a many topics, corrected...
View ArticleDojo in XPages – Demo Site
Due to David Leedy’s generosity, I now have a simple demo application set up at demo.xcellerant.net. Currently, there are samples of several Dojo widgets about which I’ve recently blogged and I will...
View ArticleArticle Published in The VIEW: Extending Localization in XPages
The second part of a 2-part series on localization that Kathy Brown and I co-wrote has been published in The VIEW journal (subscription required). Part 1 showed how to get started with XPages...
View ArticleXPages Tip: Accessing a custom control’s custom property from outside of the...
If you’ve used custom properties, then you’re aware that the compositeData object provides access to those properties within the custom control. However, you can also access those properties from...
View ArticleOrder of execution for client-side JavaScript event handlers and callbacks
There are a number of different places from which you can execute client-side JavaScript upon clicking an xp:button. In this post, I’ll document both the order of execution and which ones execute for...
View ArticleProviding URL Parameters for Multiple Document Data Sources
You’re no doubt used to seeing URLs to open a document that look like this: http://www.server.com/db.nsf/myPage.xsp?action=openDocument&documentId=0123456789ABCDEF0123456789ABCDEF in XPages. The...
View ArticleXPages Tip: Adding Custom Controls to a Separate Drawer in the Controls Palette
When looking at the Controls Palette in Domino Designer, there is a ‘Custom Controls’ drawer that is automatically populated with all custom controls in the current application. In this post, I’ll show...
View ArticleXPages Tip: Filtering a View Data Source with URL Parameters
If you’re looking for a quick way to manipulate the data returned by a view data source, you can use URL parameters that match the property names. This allows you to effectively compute them without...
View ArticleInteresting Quirk with Custom Property Names
I came across an interesting quirk when defining custom properties within a custom control — there are some names that cannot be used. While working on a reusable control for charting functionality, I...
View ArticlePassing Parameters to SSJS from a Client-side partialRefreshGet()
partialRefreshGet() is a handy method of the client-side XSP object that can be used to trigger a partial refresh from client-side JavaScript. In this post, I’ll show how you can pass parameters for...
View ArticleMask Converters in XPages
If you want to force the data entered by a user into a certain pattern (for structured values such as dates and phone numbers) you can use mask converters. In this post, I’ll show how to implement them...
View ArticleChanging the Search Behavior of a Dojo Filtering Select in XPages
The default behavior of a Dojo Filtering Select control is to take what you type and filter the options in the list based on what options start with that value. In this post, I’ll show how to change it...
View ArticleNotesIn9 Episode 147 – dGrowl in XPages
NotesIn9 episode 147 demonstrates how to implement the dGrowl plugin to add growl-style messages to an XPages application. This provides a nice UI for a different style of message to display to the...
View ArticleAdding New Message Styles to dGrowl
In NotesIn9 episode 147, I demonstrated how to implement the dGrowl Dojo plugin in XPages. The plugin comes with two message styles: info and error. In this post, I’ll show how to enhance it to add...
View ArticleDisplaying a dGrowl message from SSJS
In a recent NotesIn9 video, I showed how to use the dGrowl Dojo plugin to create growl-style messages in XPages. Jesse Gallagher and Frank Van der Linden showed how to trigger growl-style message from...
View ArticleXPages Tip: Disabling Required Validation in a Dojo Filtering Select
Dojo Filtering Select (xe:djFilteringSelect) controls include client side ‘required’ validation by default. The problem is that if it fails this validation, any page submission or other server-side...
View Article