Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Aarti Dholiya
Pop up issue
20 de Abril de 2012 01:52
Resposta

Aarti Dholiya

Ranking: New Member

Mensagens: 15

Data de entrada: 7 de Fevereiro de 2012

Mensagens recentes

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 de Maio de 2012 04:22
Resposta

Amit Doshi

Ranking: Liferay Master

Mensagens: 508

Data de entrada: 29 de Dezembro de 2010

Mensagens recentes

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