voyent
How to popup ace:confirmationDialog from modal ace:dialog  XML
Forum Index -> Components
Author Message
avinniva

Joined: 27/Feb/2013 19:56:41
Messages: 14
Offline


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]
ken.fyten

Joined: 26/Oct/2004 00:00:00
Messages: 1341
Offline


Hi,

Sounds like the confirmationDialog is opened underneath the modal blocking layer for the modal dialog. I'd say this combination isn't currently supported.

I've created a new JIRA issue for this: http://jira.icesoft.org/browse/ICE-9636

Please vote for it.

Regards,
Ken

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
 
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team