Skip to content
Snippets Groups Projects
Forked from DM / dm-docs
261 commits behind, 169 commits ahead of the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
experimentDestroyDialog.xhtml 894 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="experimentDestroyDialog" message="Delete experiment #{experimentController.getCurrentEntityInstanceName()}?"
                     header="Delete Experiment" severity="alert" widgetVar="experimentDestroyDialogWidget"
                     styleClass="dialog">
        <p:commandButton value="Yes" oncomplete="experimentDestroyDialogWidget.hide()" action="#{experimentController.destroy()}"/>
        <p:commandButton value="No" onclick="PF('experimentDestroyDialogWidget').hide()" type="button" />
    </p:confirmDialog>  
</ui:composition>