Hello,
I have in the code bellow the method "clearFilter" of "gestionPaysBean" executed on load of the JSF page:
<af:serverListener type="onloadEvent"
method="#{gestionPaysBean.clearFilter}"/>
<af:clientListener method="onLoadClient" type="load"/>
<af:resource type="javascript">
function onLoadClient(event) {
AdfCustomEvent.queue(event.getSource(),"onloadEvent",{},false);
return true;
}
</af:resource>
How to change this code to make it executed before the load of page or on unloading the page? I am working with jdev12, java 8