I have page1.jsf and page2.jsf. Page1 has <p:ajaxstatus/>
with custom spinner in it .
When an action is performed on page 1 and the user is redirected to page 2, the spinner starts and stops immediately but page1 remains as it is and after few seconds page2 is loaded and is rendered.
How can I keep the spinner spinning until page2 is fully rendered.