Blog Archives

Extracting Values from a JSF UIComponent

Pulling a value off of a component – sounds easy enough? Well, it is, but there’s a little gotcha that BalusC was kind enough to explain for me. The UIComponent provides a .getAttributes() that returns, as expected, a map containing the

Tagged with: ,
Posted in Java

PrimeFaces commandButton update issues

The Problem I’ve recently been working with some PrimeFaces components. In general they’ve been fairly awesome to use, but either I’ve been looking for documentation in all the wrong places or they aren’t documented very well. The PrimeFaces commandButton is, by

Tagged with: ,
Posted in Java

Database upgrades from jBPM 5.4 to jBPM 6

Introduction I’ve recently had to convert a currently in-use production system running in jBPM 5.4 to jBPM 6. The jBPM 6 team did make an attempt to make the upgrade process fairly easy by ensuring that they only added columns

Tagged with: , ,
Posted in Java

REST service GZIP encoding support for Spring and Android Annotations

Introduction We’re working on an Android application that will be largely community based, so there’s a lot of information going back and forwards. Our target phones are extremely low-tech though – Android 2.3 and Edge are the platform we’re aiming

Tagged with: , , , ,
Posted in Java

Generating South African ID Numbers

Introduction An ID number is a basic requirement for various online applications. There are two ways we can take advantage of ID numbers – we can verify them using their check digit to ensure that the user entered their ID

Tagged with: , ,
Posted in Javascript, Math

Annotations with Meaning

Background There are some annotations which exist not to directly offer functionality but as a helper for the developer and for the developers which follow. There are some annotations which should exist, but have yet to reach the public eye.

Tagged with: , , ,
Posted in Java

JSP’s Date Converter – Yesterday’s Today’s Problem

Strange Days Indeed We ran into a strange problem that had crept by us undetected due to the overlapping effects of two only partially-connected issues. The requirements were fairly basic – display a list of items, along with a starting

Tagged with: , , , , , ,
Posted in Java