How to disable a button during ajax request with primefaces?

Asked

Viewed 66 times

2

How to disable a button during ajax request with primefaces using p:ajaxStatus.

I wanted to do it in a generic way, ex: all buttons will be disabled during ajax request;

1 answer

0

Look, I do something similar in my TC, it’s different, but the intention is the same, During an ajax status, I call a Dialog, with a Modal and besides, I set in the CSS class a High Z-Index. It’s not exactly the way you want it, but the result is the same: prevent the user from screwing up during the request and processing.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.