This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Primefaces Incell-row Editing Saves Old Values to Database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Primefaces Incell-row Editing Saves Old Values to Database" Watch "Primefaces Incell-row Editing Saves Old Values to Database" New topic
Author

Primefaces Incell-row Editing Saves Old Values to Database

adam bilyone
Greenhorn

Joined: Aug 14, 2011
Posts: 16
Hi,
My rowEvent works fine and the new values are posted successfully to the my rowEvent listener which i retrieved the entity class as shown in the code below. However, when i update the entity class to the database, the to database indicate a successful transaction, but when i navigate back to another page and revisited the page containing the table, i discover the old values.
Tools &Technologies
  • Netbeans 7.3
  • JSF 2.0
  • Primefaces 3.4
  • JPA

  • <p>
    Below are my codes.
    </p>
    Thank you for your assistance.











     
    It is sorta covered in the JavaRanch Style Guide.
     
    subject: Primefaces Incell-row Editing Saves Old Values to Database
     
    Similar Threads
    How to make a crud jsf with ebj without id filed?
    ManyToMany merge problem
    SEVERE: javax.faces.FacesException: java.lang.ClassCastException:
    How to Cascade update JPA ?
    How to submit two forms in jsf with Ajax or without Ajax?