掲示板

Issues with dialog popups in liferay 6

12年前 に Romain NIO によって更新されました。

Issues with dialog popups in liferay 6

New Member 投稿: 4 参加年月日: 11/10/12 最新の投稿
Hi emoticon

I'm using liferay 6 and alloyUI to create popup in my code. It works fine to open a popup (in exclusive mode) with the following code emoticon:

 var url = "<%=myRenderURL%>" ;
    AUI().use('aui-dialog', 'aui-io', 'event', 'event-custom', function(A) {

        var dialog = new A.Dialog({
                title: 'Informations',
                height:700, 
                width:830,
                destroyOnClose: true,
                modal: true
            }).plug(A.Plugin.IO, {uri: url}).render();
            dialog.show();
      });


But I have two majors issues :
- I want to stay in the opened popup when I click on a link into the popup. For now, when I select a link into the popup, this popup close, and the link is open in the main page.
- My second issue, is about closing the popup with javascript function. I try to create a button to close my popup (instead of clicking on the close popup icon)

Thank you so much for your help!! emoticon
Romain