Skip to content
Snippets Groups Projects
Forked from DM / dm-docs
261 commits behind, 493 commits ahead of the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
systemRoleRemoveDialog.xhtml 972 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="systemRoleRemoveDialog" message="Remove #{userSystemRoleController.getSystemRoleName()} Role for user #{userSystemRoleController.systemRoleTable.currentObject.username}?"
                     header="Remove System Role" severity="alert" widgetVar="systemRoleRemoveDialogWidget"
                     styleClass="dialog">
        <p:commandButton value="Yes" oncomplete="systemRoleRemoveDialogWidget.hide()"  action="#{userSystemRoleController.removeSystemRole()}"/>
        <p:commandButton value="No" onclick="PF('systemRoleRemoveDialogWidget').hide()" type="button" />
    </p:confirmDialog>  
</ui:composition>