sections.blockui.blockUIAutoShow.xhtml Maven / Gradle / Ivy
This example shows how to use "autoShow" mode activated by setting the attribute "autoShow" to true.
Another feature is the "event" attribute which specifies which events should be listen.
Skipping "event" means we are not interested in any events. That means all events of the source component
cause a blocking of the target component(s). Only events specified by p:ajax are supported.
PrimeFaces components can also send ajax requests without p:ajax, but such events are internal and not exposed.
BlockUI don't support such events. The "target" attribute allows to specify several target components and HTML elements to be blocked.
The syntax of the "target" attribute is the same as e.g. for "process" and "update" attributes in p:ajax.
Try to expand, select, unselect a tree node on the left side or click on any checkbox on the right side.
${showcase:getFileContent('/sections/blockui/example-blockUIAutoShow.xhtml')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/blockui/FileSystemController.java')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/blockui/AccessRightsController.java')}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy