Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

h:commandButton is ignored sometimes

 
Efrat Bar-Nahum
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a jsf page with few checkboxes & a command button.
The user can check & uncheck the desired checkboxes, and then invoke an action by pressing the command button.
A new data is invoked according to the selected checkboxes.

It works fine, and then suddenly stops working.
After "playing" with the checkboxes for a while the action is not submitted when pressing the command button.
(I added an alert when pressing the button - it always works, but the action is ignored sometimes).


Here is part of my jsf:





Any idea??
Thanks,
Efrat
 
Daniel Prene
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It probably doesn't matter but, shouldn't you replace that straight html with jsf tags?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic