ajax4jsf - the difference between a4j ajax listener and action in ajax call. -
please me understand difference between a4j ajax listener , action in ajax call.
<a4j:commandbutton id="abc" value="abc"> <a4j:ajax execute="@this" ***listener="#{mybean.update()}"** or action = "#{#{mybean.update()}"*** oncomplete="#{rich:component('mypopup')}.show(); return false;" /> </a4j:commandbutton>
i removed <a4j:ajax >
tags below.
<a4j:commandbutton id="abc" value="abc"> execute="@this" action = "#{mybean.update()" oncomplete="#{rich:component('mypopup')}.show(); return false;" /> </a4j:commandbutton>
then work action , <a4j:ajax >
tags, action doesn't trigger method in bean while listener triggered.
Comments
Post a Comment