This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
datatable selection returning null
javax.servlet.ServletException:Index:0, Size:0 at javax.faces.webapp.FacesServlet error on first pag
Simple Example for Enums and selectOneRadio
<p:datatable selection >not working
ajax and p:picklist (PrimeFaces)