Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problems in updating data  RSS feed

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsp page with JSF UI components. At this point, I havent put in any validators. The only validation set is required=true/false for the components.

The same page is used for both both for insert/update operation. The data gets inserted properly, but when I try to do an update, it doesnt throw any errors, but doesnt do any update also. There is only a warning that there is no row updated. I am using the DAO pattern for impl.

Anybody has faced such a problem! Any ideas!
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you checked to see if your update method is even being called? I've had issues in the past where I had a null value and instead of JSF throwing an error, it just didn't call any methods when I clicked on a button or link.
[ May 09, 2006: Message edited by: Gregg Bolinger ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!