Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF-commandbutton  RSS feed

 
Bakya Lakshmi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a <h:commandbutton> with actionlistener which when clicked update some values in database.
But at times the listener is not working.The same page reloads again. Whats is the reason for this?
How we could resolve it?
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When is "at times"?

Are you aware of potential validation and conversion errors of any input fields in the same form? Add h:messages or read the appserver logs to get notified of them.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!