Questions Tagged With sessionhttps://answers.axonivy.com/tags/session/?type=rss&user=enricojlquestions tagged <span class="tag">session</span>enMon, 30 Nov 2015 20:23:43 -0500how to use PrimeFaces idleMonitor?https://answers.axonivy.com/questions/1567/how-to-use-primefaces-idlemonitor<p>I'd like to call a process event from the idlemonitor tag. when I do </p> <pre><code>&lt;p:idleMonitor timeout="5000" onidle="#{logic.onIdle}" /&gt; </code></pre> <p>I get the following error : javax.el.PropertyNotFoundException: Property 'onIdle' not found on type com.sun.proxy.$Proxy118</p> <p>I can't seem to get access to logic... inside the idelMonitor but if I open a dialog and press a button, it works; but I want to call the logic.method before the user has to click any button. is it possible.</p> <p>here is the dialog.</p> <pre><code> &lt;p:dialog widgetVar="idleDialog" modal="true" header="Période d'inactivité écoulée" style="width: 300px"&gt; &lt;p:panelGrid columns="1"&gt; &lt;p:outputLabel&gt; &lt;p&gt;Cette page est demeurée inactive pour plus de 20 minutes. &lt;/p&gt; &lt;p&gt;Votre demande a été enregistrée et conservée dans vos tâches.&lt;/p&gt; &lt;/p:outputLabel&gt; &lt;p:commandButton actionListener="#{logic.onIdle}" onclick="PF('idleDialog').hide()" value="#{ivy.cms.co('/label/demande/continue')}" /&gt; &lt;/p:panelGrid&gt; &lt;/p:dialog&gt; </code></pre>enricojlMon, 30 Nov 2015 20:23:43 -0500https://answers.axonivy.com/questions/1567/how-to-use-primefaces-idlemonitorsession