This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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:
 
GeeCON Prague 2014
 
subject: problem with setting data from p:dataTable