wood burning stoves*
The moose likes JSF and the fly likes problem with setting data from p:dataTable 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 "problem with setting data from p:dataTable" Watch "problem with setting data from p:dataTable" New topic
Author

problem with setting data from p:dataTable

Tobias Falken
Greenhorn

Joined: Dec 02, 2009
Posts: 3
Hi
I have a problem with setting data from p:dataTable with dynamic nr of columns.
I list my Enity class Affiliations in Y and a linked list with Integer in X, they also have a String heding.
Everything works fin until I post the form, for save or to get new columns.
Anybody know why?
If I change from <h:inputText/> to <hutputText/> it works fine, but I need to be able to change the data.
I use JSF 2.0 with PrimeFaces 2.0 on Glassfish V3




Facelet:


Controller: (left out includes)


Stacktrace:
 
jQuery in Action, 2nd edition
 
subject: problem with setting data from p:dataTable
 
Similar Threads
Exception with <rich:modalPanel
Trouble updating primefaces component w/ajax
SEVERE: javax.faces.FacesException: java.lang.ClassCastException:
h:selectOneMenu PROBLEM
Wrong rendering of p:datatable with f:facet