XPages and Me

My Journey into XPages Development

Monthly Archives: May 2014

Homemade “Dojo-List-Text-Box” like Control

I was working on a project using the Extension Library (ExtLib). While developing a search functionality for a view, I wanted to use the Dojo List Text Box from the ExtLib to display the selected values the user wanted to search for. I love to use this control as it gives the user the ability to easily remove selected items by simply clicking on them.

Unfortunately, the project didn’t use the OneUI framework and the control wasn’t rendered right. I tried several different things in order to fix it but to no avail. So, I created my own control, using repeat control, span, computed field and an image (see example database for download here).

The example database contains 2 XPages, one for the use with a scoped variable and the other with a document data source.