Skip to content
Snippets Groups Projects
Forked from DM / dm-docs
261 commits behind, 257 commits ahead of the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
userInfoDestroyDialog.xhtml 871 B
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:p="http://primefaces.org/ui"
                xmlns:ui="http://xmlns.jcp.org/jsf/facelets">

    <p:confirmDialog id="userInfoDestroyDialog" message="Delete user #{userInfoController.getCurrentEntityInstanceName()}?"
                     header="Delete User" severity="alert" widgetVar="userInfoDestroyDialogWidget"
                     styleClass="dialog">
        <p:commandButton value="Yes" oncomplete="userInfoDestroyDialogWidget.hide()" action="#{userInfoController.destroy()}"/>
        <p:commandButton value="No" onclick="PF('userInfoDestroyDialogWidget').hide()" type="button" />
    </p:confirmDialog>  
</ui:composition>