Hello! Is it possible to edit values in a datatable in JSF? I have this code, which is displaying nicely, but do not store the input in the dataclass! The "kurztext.sprache" is shown correctly and "kurztext.text" also if it has already data. But changes of "kurztest.text" in the GUI are not reflected to the dataclass! Code:
Kind regards, Helmut asked 13.09.2015 at 01:59 Helmut Burge... Reguel Werme... ♦♦ |
There is a sample implementation for an editable table in the 'Html Dialog Demos' project. This project is shipped with the Designer. See In your case the problem could be that you use p:inputText instead of h:inputText. But that's just one difference that popped into my eye when comparing the demo code with your code-snip. answered 14.09.2015 at 10:41 Reguel Werme... ♦♦ This was missing: editable="true" editMode="cell" Then the cell could be edited.
(08.10.2015 at 10:57)
Helmut Burge...
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 13.09.2015 at 01:59
Seen: 4,389 times
Last updated: 08.10.2015 at 10:57