wood burning stoves 2.0*
The moose likes JSF and the fly likes h:commandButton and h:commandLink not invoking the model during first click Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "h:commandButton and h:commandLink not invoking the model during first click" Watch "h:commandButton and h:commandLink not invoking the model during first click" New topic
Author

h:commandButton and h:commandLink not invoking the model during first click

Vinu Shanmugam
Greenhorn

Joined: Jul 22, 2011
Posts: 4
Hi,


I have some issues with a4j:commandButton. It is not invoking the model during first click. After the first click, it works.

I enabled PhaseListener. During the first button click, only Restore View and Render Response phases are executed.



I am working for past 5 days to resolve this issue with no luck. There were many others posted the same issue none of their solutions address my problem (I have the form tag in place, I have all my beans in session).

I faced the same issue with RichFaces 4 as well. I got fed up with it and I removed RichFaces and tried the same thing with plain JSF implementation.

Thanks
Vinu
 
Don't get me started about those stupid light bulbs.
 
subject: h:commandButton and h:commandLink not invoking the model during first click