This example shows how to use widget's JavaScript methods block() / unblock(). They are normally used as onstart / oncomplete callbacks in ajaxified components. Try to switch the current page, sort a table column or try to add a new message. ${showcase:getFileContent('/sections/blockui/example-blockUIAjax.xhtml')} ${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/DataTableController.java')}