confirm delete
This commit is contained in:
parent
440def2b71
commit
1d0c90d932
@ -16,8 +16,15 @@
|
||||
<p:commandButton value="Удалить выделенные" id="papersRemoveButton"
|
||||
disabled="#{papersView.selectedPapers.isEmpty()}"
|
||||
action="#{papersView.deleteSelected}" ajax="true" process="@form"
|
||||
update="messages @form"/>
|
||||
update="messages @form">
|
||||
<p:confirm header="Подтверждение" message="Удалить выделенные статьи?"
|
||||
icon="pi pi-exclamation-triangle"/>
|
||||
</p:commandButton>
|
||||
</div>
|
||||
<p:confirmDialog global="true" showEffect="fade" hideEffect="fade">
|
||||
<p:commandButton value="Да" type="button" styleClass="ui-confirmdialog-yes" icon="pi pi-check"/>
|
||||
<p:commandButton value="Нет" type="button" styleClass="ui-confirmdialog-no" icon="pi pi-times"/>
|
||||
</p:confirmDialog>
|
||||
|
||||
<div class="ui-md-5 ui-g-12">
|
||||
<p:inputText placeholder="Создать новую статью" value="#{papersView.newPaperTitle}"/>
|
||||
|
Loading…
Reference in New Issue
Block a user