My application lauches modal ace:dialog containing ace:dataTable. I want to add the delete row function in this dataTable row. I have added code below.
On delete button click, I see confirmationDialog gets pop up. But entire page gets disabled. How can I launch modal confirmationDialog from my already launched modal ace:dialog.
Code:
<ace:column headerText="Delete">
<ace:confirmationDialog widgetVar="confirmationDelete#{rowIndex}" modal="true" header="Delete Firm" message="Do you want delete this record?" width="300" height="100" closable="true" closeOnEscape="false">
<h:panelGrid width="100%" style="text-align: center;" columns="2" cellspacing="30">
<h:commandButton value="Yes" onclick="confirmationDelete#{rowIndex}.hide()" actionListener="#{item.deleteFirm}" />
<h:commandButton value="No" onclick="confirmationDelete#{rowIndex}.hide()" />
</h:panelGrid>
</ace:confirmationDialog>
<ace:pushButton value="X" onclick="confirmationDelete#{rowIndex}.show()" type="button" />
</ace:column>
[/b]