PrimeFaces in the Enterprise

PrimeFaces in the Enterprise

by Josh Juneau

Build data-driven applications for the enterprise using the PrimeFaces JavaServer Faces UI framework.

Published April 2014

source : http://www.oracle.com/technetwork/articles/java/java-primefaces-2191907.html

Advertisements

Issue with the rowEdit event in p:dataTable Primefaces component

The issue was in the following: when I try to edit row in the dataTable, all is going well. But when I try to save the changes, the new value doesn’t retrieve and new value has not been saved.

In the getAll method of the generic dao do null control :

if (listItems == null){
            listItems = (List<Item>) genericDao.getAll();
        }
        return listItems;

source : http://jwsn.blogspot.com.tr/2013/05/issue-with-rowedit-event-in-primefaces.html