File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: h:commandButton and h:commandLink not invoking the model during first click
 
Similar Threads
Related to tree2 of tomahak
ajax events not triggered in dynamically included pages
navigation problem
JSF 2.0 GlassFish 3.0.1 problem
Ajax listener method is not fire for other(except first) component