I am doing some time consuming task at server side, which usually takes 3-4minutes. The task started after clicking on run button provided on the page.
From the <p:commandButton
with actionListener
I am calling the task, which needs to be complete. The <p:commandButton
also contains an action=myBean.showResult();
field but I want the action to be executed only after actionListener
is finished.
My aim is to navigate to result page once task is complete in JSF2.0 with PrimeFaces3.5.