File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes SINGLE LINE EDITING OF A JSF DATATABLE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "SINGLE LINE EDITING OF A JSF DATATABLE" Watch "SINGLE LINE EDITING OF A JSF DATATABLE" New topic
Author

SINGLE LINE EDITING OF A JSF DATATABLE

Phoenix Kilimba
Ranch Hand

Joined: Oct 10, 2006
Posts: 64
Dear Sirs et Madames,
I have a JSF page with which am rendering a datatable:

I am wanting to make the last column (column id = column3) editable as soon as the checkbox in the first column (column1) is selected (i.e. conditional rendering of an inputText component when the checkbox is selected, or rendering an outputText component when the checkbox is NOT selected, all on the same page). This works fine, and visually, it does EXACTLY what I want it to do. However, once I have selected a checkbox for a particular row, and edited the last column (Data Value column), on submission, this new value is not picked up, in fact the value reverts back to the original value once the page reloads. What do I need to do to get my changes to actually work? The jsp and managed bean code is as follows:


If necessary I can put up the code for DataVO, am trying not to clutter this post with too much code and am sure the Issue is not with the POJO....

Thanking you sincerely in advance,


You are what you know
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SINGLE LINE EDITING OF A JSF DATATABLE
 
Similar Threads
Do Not Seem to be pulling the Most Current Data from Database (JSF, Hibernate)
JavaServer Faces - Table display in Visual Web JSF (Project woodstock)
How To Re-Use same Visual Web JSF page but Different Informmation?
How do I use message bundles from my backing bean
Problems with Editable Datatable