added the practical rich faces code