aspose file tools*
The moose likes JSF and the fly likes h:commandButton is ignored sometimes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "h:commandButton is ignored sometimes" Watch "h:commandButton is ignored sometimes" New topic
Author

h:commandButton is ignored sometimes

Efrat Bar-Nahum
Ranch Hand

Joined: Jan 19, 2006
Posts: 57
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

Joined: Jul 15, 2005
Posts: 241
It probably doesn't matter but, shouldn't you replace that straight html with jsf tags?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: h:commandButton is ignored sometimes
 
Similar Threads
Problem with Spring Web Flow
JSF 1.2 doesn't display in IE 8
Strange behavior with reRender attribute
onclick event of command button change the state of radio button but onchange doe not
Problem getting values from JSP to JSF Bean