Over the last week I've been rather busy including some XPages functionality in an existing Domino web application, and as an example I wanted to explain why I chose XPages, some steps I took and the ...
Adding Bootswatch Themes to Bootstrap4XPages
Mon, Apr 7th 2014 7:11a Paul Withers Last week I started playing with Bootstrap4XPages. It’s been around for a few months now and is part of OpenNTF Essentials. But I finally got round to playing with it.
Although having lots of whitespace seems in vogue for websites, personally I don’t like that. So one of my first steps was to change the theme. Fortunately, Bootswatch allows a host of themes to just lay on top of Bootstrap, in the same kind of way versions of OneUI have various themes.
Tim Tripcony did a NotesIn9 some [read] Keywords: xpages application
OpenNTF Domino API: Understanding Listeners
Wed, Mar 26th 2014 7:11a Paul Withers Since M3 we’ve had Listeners implemented in the OpenNTF Domino API. Although there’s potential for even greater implementation of listeners through the API, they’re already extremely powerful.
Think about triggering specific code whenever a document is saved from XPages. The concept is very powerful and there has been an example in the Demo database for many months. But as I’ve been going through reviewing Javadoc comments in the API, I’ve realised it’s never [read] Keywords: domino
Show Submit Button Only When All Mandatory Fields Completed
Thu, Mar 20th 2014 4:11p Paul Withers Today I had this query about refreshing multiple areas of the page on a blog post about partial execution:
I have several input text fields with onChange events that do a partial updates on panels (a panel for each field) that contain the images that display whether the required field is completed. But I also have a submit button at the top of the xPage, that only becomes usable when all required fields are completed. So, I’d like to be able to refresh that button also, from each required fiel [read] Keywords: xpages java
Slides from OpenNTF Domino API Session at Engage
Thu, Mar 20th 2014 3:11p Paul Withers Earlier this week I had the pleasure to present with Martin Jinoch at Engage in Nertherlands. It was good to present on the API with someone who’s main involvement has been as a consumer, though very much an active member of discussions on existing and new functionality.
Here are the slides, which included more recent developments like picker data sources and a formula parser. A new release of the API will be coming out in the coming weeks, so stay tuned. [read] Keywords: domino
Method Parameters and The Importance of Final in Java
Thu, Mar 6th 2014 6:11a Paul Withers Most developers (certainly myself!) are lazy. We look to re-use code and write the briefest code we can.
Sometimes it backfires!
When writing a method, either in Java or LotusScript, we can often pass parameters around with little concern. I came across that some years ago with LotusScript when objects were being changed by a function when I didn’t intend that. That was when I learned that you could define a sub or function in two ways. So consider the following code:
Dim myStr as String
[read] Keywords: lotusscript
Speaking at Engage.ug
Tue, Mar 4th 2014 7:14a Paul Withers Two weeks from now I’ll be speaking at Engage.ug, along with a host of illustrious names from IBM and the community. I’ll be speaking with Martin Jinoch about the OpenNTF Domino API. After speaking on the API solo at various user groups and during speedgeeking at IBM Connect, it will be interesting to co-host the session with someone who consumes the API and has been very active in working on the Demo database and providing feedback on the API.
As ever, the material has been updated [read] Keywords: domino