In your page, the form is a h:form.
is this something you really want ?
you should use a : a4j:form
this should resolve this kind of double click problem.
also, your first command button is a : a4j:commandButton
the second one (cancel), is a h:commandButton
I guess you made the h:commandButton to be able to go to the "/pages/ProductList.xhtml" that is outside of the JSF application (in "another" jsf application, in another war, or so...) ?
the more simple use case is to use some a4j:commandButton, for ajax request, in the same JSF application.
for other use case, you might want to look at and use the richfaces htmlCommandLink.
hope it helps.
JBoss Portal and GateIn (JSR-286), JSF, Richfaces, J2EE, Drools, BRMS.
Thanks for your response Antonie,
I tried to use a4j:form but its giving tag error at runtime. I am using richfaces 4.0
I am navigation in same jsf application.If i use a4j:commandbutton then i have to click two times.For h:commandbutton its working fine.
I am also facing the same problem .
Can any one tell the reason @illya , @bulanos . any one
Use h:CommandButton and make sure its inside <h:form>
are using the relative path?you must use the path from the root