This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes Nested Datatable returning NullPointerException error on initial sort Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Nested Datatable returning NullPointerException error on initial sort" Watch "Nested Datatable returning NullPointerException error on initial sort" New topic
Author

Nested Datatable returning NullPointerException error on initial sort

Richard Pinaroc
Greenhorn

Joined: Jun 03, 2011
Posts: 7
Hello All,

Running Primefaces v3.2 and have nested datatables which has the following configuration. Found this configuration to help get pagination and sorting working for each generated datatable. I did find that adding the widgetVar attribute to the inner datatable breaks sorting and pagination.




The following error message is generated on the initial sort for any field column in any datatable but subsequent sorts on a different field do not generate this error.




Any ideas or suggestions?

Thank you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Nested Datatable returning NullPointerException error on initial sort
 
Similar Threads
javax.servlet.ServletException:Index:0, Size:0 at javax.faces.webapp.FacesServlet error on first pag
datatable selection returning null
ajax and p:picklist (PrimeFaces)
Simple Example for Enums and selectOneRadio
<p:datatable selection >not working