Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
Aarti Dholiya
Pop up issue
20. April 2012 01:52
Antwort

Aarti Dholiya

Rang: New Member

Nachrichten: 22

Eintrittsdatum: 7. Februar 2012

Neue Beiträge

I have used my custom pop up to add & edit events on calendar portlet & its working fine but the issue is :

When you are creating an event and you try and add an Asset to the event (Related assets) the pop-up window for that opens behind the current pop-up.

Its should ideally open in front of the current pop-up.

My code to open a custom pop up is as below:

Liferay.provide(
window,
'<portlet:namespace />openCustomPopUp',
function(url, popUpID) {
var A = AUI();

popupDialog = new A.Dialog(
{
id: popUpID,
centered: true,
draggable: true,
resizable: true,
width: 800,
stack: true
}
).plug(
A.Plugin.DialogIframe,
{
uri: url,
iframeCssClass: 'dialog-iframe'
}
);

popupDialog.render();
},
['aui-dialog','aui-dialog-iframe']

);
Please help me with this issue, its very urgent.

Thanks
Amit Doshi
RE: Pop up issue
1. Mai 2012 04:22
Antwort

Amit Doshi

Rang: Liferay Master

Nachrichten: 549

Eintrittsdatum: 29. Dezember 2010

Neue Beiträge

Hi Aarti,

I think you decrease the z-index of your custom-popup as compared to that of Asset Popup.

I am not sure about it. But practically I think it should work.

Thanks & Regards,
Amit Doshi