This content has been marked as final.
Show 2 replies
-
1. Re: Richfaces 4.1: onsumit of form not called
pvito Dec 31, 2011 4:19 AM (in response to mhn)Hi, Michael
Use h:commandButton instead of a4j:commandButton
<h:form onsubmit="alert('yippieh');">
<h:commandButton value="push me" actionListener="#{userBean.do1}"/>
</h:form>
Regards, Vitaliy
-
2. Re: Richfaces 4.1: onsumit of form not called
mcmurdosound Dec 31, 2011 4:52 AM (in response to pvito)I think this is not the right approach since he wants to 'capture' ajax calls and not just form submits.
You should look into a4j:queue - the global queue should be sufficient. But I'm not sure if the clientside features are already working.