Granted, several efforts have already been made in this regard, I nevertheless decided to publish my own recipe for building and running a Domino Docker container. All my images are built on top of a Debian distribution, as I am fond of it. Not that is should matter, considered the choice of a distro for […]
Author: shillem
Implementing a JavaScript toaster plugin to display JSF messages
A current – and also permanent – limitation of the XPages environment is the inability to refresh multiple blocks on the page within a single server trip. This inevitabily forces to trade efficiency for some low-hanging shortcut. The most common example is when you want to notify the user with one or more messages that […]
A bunch of hacks for smartly managing a bootstrap modal life cycle
I might call this the negative side of perfectionism: wanting everything to be as efficient as possible even if it doesn’t matter. Oh well, I’m stubborn sometimes. I took it as a personal challenge to be able to open a bootstrap modal window and… on close partially refresh the modal body in case an error […]
Just a tiny more control over read-only inputs
Sometimes what you need is just a hair’s breath away. For example you are trying to implement a css theme down to the tiniest detail and you have to fight with what XPages normally outputs in some cases: in this very specific one I needed to give more padding to an input control when displayed […]
Assigning custom tag name to repeater
Generally you use a repeater to house table rows or list elements. It turns out though, that you aren’t given the possibility to define which tag output for it. In order to work around that I have seen solutions like this: <xp:repeat id=”repeat1″ rows=”30″ value=”#{view}” var=”row”> <xp:this.facets> <xp:text disableTheme=”true” xp:key=”header” escape=”false”> <xp:this.value><![CDATA[<ul>]]></xp:this.value> </xp:text> <xp:text disableTheme=”true” […]
Adding DOTS tasklet command interaction
Among the many things that sets DOTS apart from the Domino Agent Manager is the opportunity to develop tasklets that can react to console commands. There might be many reasons for wanting that: it could be useful to refresh the currently cached tasklet configuration or running a specific task extemporaneously and even enable debugging for […]
Smoothing out DOTS configuration and sharing it across instances
Considered that one or more instances of a DOTS tasklet could be running at the same time, writing solid code might represent a challenge. Some points of attention: Each tasklet instantiates its own configuration (escheduled tasks with different time intervals included), in other words no global scope out of the box. DOTS doesn’t keep track […]
Providing configuration document for DOTS tasklets
Flexibility is always welcomed when it comes to configuring apps – or DOTS tasks in this case. A database is the usual route to store preferences that will determine their behaviour. It might be easy to set this up with a XPages applications, a little less so for a DOTS tasklet. What might immediately come […]
xe:navigator to display search results
I was asked to provide a quick solution for presenting search results in a tree structure fashion rather than the classic paged flat list. Considered the premises, read limited time, I needed to find something somewhat already cut for the job and that I could tweak just a little and be done with. So, while […]
Building upon StandardXPageController and XPageController
When I started diving in XPages for real – read no SSJS involvement – I derived great benefit from reading and examining the work done by Jesse Gallagher. His framework helped me to push some boundaries. In particular I immediately adopted the XPageController approach and made it my own. Over time I built upon that […]