The print below is the confirmation of a record of my datatable, the popup opens when you click the delete record button:
Thecodeforthisdialogisasfollows:
<p:commandButtonicon="ui-icon-trash" action="#{geracaomb.excluir(linha)}" ajax="true" process="@this" update="pesquisa">
<p:confirm header="#{msg['cabecalho.apagar.registro']}" message="#{msg['apagar.registro']}" icon="ui-icon-alert" />
</p:commandButton>
<p:confirmDialog global="true" showEffect="exploud" hideEffect="fade">
<p:commandButton value="Sim" type="button" styleClass="ui-confirmdialog-yes" icon="ui-icon-check"/>
<p:commandButton value="Não" type="button" styleClass="ui-confirmdialog-no" icon="ui-icon-close"/>
</p:confirmDialog>
I want to put the title (CONFIRMATION) and the 2 centralized buttons (Yes and No), how do I do this?