I have some requests that can’t be ajax requests, is there any way to still use the p:ajaxStatus component with non-ajax requests.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Non-ajax requests completely reload the whole page. So you can’t literally use
p:ajaxStatusto indicate that a non-ajax request being in progress.If your request results in page navigation, then there is no use of
p:ajaxStatus. Otherwise you could couple up the ajax request withp:ajaxStatus.Shortly p:ajaxStatus can not be used to show the status of non ajax request.