XPages

Home » XPages

Audit Comments Custom Control

As part of a current XPages project we had the need to capture comments from the user when they edit certain documents. Similar functionality was developed for a Notes Client application before I joined Intec, using a dialog box in the PostOpen / QueryModeChange event to force the user to enter comments. My intention, therefore, […]

Audit Comments Custom Control Read More »

Thematically Challenged – Best Practice for Dynamically Changing Themes in Xpages

For a while now one of the items on my wish-list of functionality to add to XPages has been the facility for the user to change the theme of an XPages application, possibly even for individual users to select a theme for their own experience. Currently, you need Domino Designer to change the theme for

Thematically Challenged – Best Practice for Dynamically Changing Themes in Xpages Read More »

Workaround for Multi-Value Fields Bug

Tommy Valand posted on his blog yesterday and on the Notes 8.5 forum today a bug with multi-value fields. Basically save switches the output between a multi-value field and a semi-colon-separated string. Coincidentally I was working on an XPages application today, with a keyword form, for which I needed a multi-value field. Not surprisingly, I

Workaround for Multi-Value Fields Bug Read More »

XPages: A Couple of Finds From Recent Development

Over the last few days a colleague of mine has been doing some XPages development. We’ve come across a couple of interesting bits of functionality that might not be obvious. The first was when working on an old database and creating a View Control for a view called vwSite. The View Control brought in columns

XPages: A Couple of Finds From Recent Development Read More »

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Six

Option Four Option Four seems quite convoluted, but is essentially a simple principle. We use server-side javascript in the beforePageLoad event to set viewScope variables for each of the radio button, check box and list box mandatory questions we want to check against. We then use the onClick event to trigger a partial refresh and

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Six Read More »

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Five

Option Three is a modification of Option Two, which reproduced the client-side validation available for other XPages controls, with a javascript alert. At this point I should add some background to the application I was working on. The application in question is a major upgrade of our enterprise feedback tool, EFT, which added in Dojo styling, used

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Five Read More »

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Four

Update I’ve now got everything working, got answers to my last blog post, and worked out the various Domino version differences affecting this all. So before I continue with Option 3 and Option 4, here’s an update on where we are. Option 1 used the out-of-the-box server-side validation for radio buttons, check boxes and multi-value

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Four Read More »

XPages: Validation for Radio Buttons – 8.5.1 Issue

 First of all, apologies for not making further progress on the validation tutorials. Prior to a customer meeting, I was doing a final review of the mixture of client-side and server-side validation I implemented, and found problems. It looks like 8.5.1 may be able to address this, so watch this space. So as a fall-back

XPages: Validation for Radio Buttons – 8.5.1 Issue Read More »

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Two

 In Part One we saw that the XSP.attachValidator function threw a javascript error, and that adding a required validator does not allow you to customise the message. However, with a little bit of scripting it is still possible to use XSP.attachValidator. Option Two: Add Scripted Validators First, a couple of basics. Whereas the required validator uses server-side

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Two Read More »

Scroll to Top