Dear Sirs et Madames,
I have previously asked this question (
https://coderanch.com/t/472185/JSF/java/SINGLE-LINE-EDITING-JSF-DATATABLE) but no-one has answered it, am assuming maybe no one understood what I was asking so am hoping if I rephrase it someone could help, as am DESPERATELY stuck for ideas here...
I have a datatable which displays 4 columns... the first column containing checkboxes, and the fourth (final) column displaying values. I want that if I click on a checkbox for a particular row, the final column (value column) becomes editable without necessitating navigating to another page. Here is a link to an example of what I have in mind.
http://www.javapassion.com/handsonlabs/jsfdatatable/#Exercise_3
I can achieve what the example acheives, on clicking the checkbox, the corresponding value field becomes editable, HOWEVER the example does not go as far as PERSISTING these changes to a database, and when I try persit the changes, the ORIGINAL value is what is persisisted, as in the new edited value does not even seem to get picked up. Have been struggling with this for days, can someone please help? Would Ideally like to be able to do this without ajax or any other technologies, would like to use purely the same techniques as in the example provided in the link.
Would appreciate all the help I can get,
Thanks in advance