So when you create a dialog with primefaces it disables all of the page in the background. Is there a good way to do that without the dialog box?
Basically I want to disable the whole page during a specific ajax request.
Yup its called BlockUI ,
BlockUI
<p:panel id="pnl" header="My Panel">
//content
<p:commandButton id="saveBtn" value="Save" />
</p:panel>
<p:blockUI block="pnl" trigger="saveBtn" />
also , take a look at the user guide at the BlockUI section...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With