h:commandButton and h:commandLink not invoking the model during first click
posted 4 years ago
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.