How to disable a button during the ajax request with primefaces using p: ajaxStatus.
I wanted to do this in a generic way, ex: all buttons will be disabled during the ajax request;
How to disable a button during the ajax request with primefaces using p: ajaxStatus.
I wanted to do this in a generic way, ex: all buttons will be disabled during the ajax request;
Look, I do something similar on my TC, it's different, but the intention is the same, During an ajax status, I call a Dialog, with a Modal and in addition, I fit in the CSS class a Z-Index Higher. It's not exactly the way you want it to be, but the result is the same: prevent the user from shitting during the request and processing.