My code for the book Practical RichFaces 2nd edition