Implemented primefaces example