Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Ramesh J
How to access liferay content across portal instances
26 de Maio de 2012 06:41
Resposta

Ramesh J

Ranking: Junior Member

Mensagens: 43

Data de entrada: 21 de Julho de 2009

Mensagens recentes

Hi,
We've two portal instances (eg: portal1, portal2 - both hosted on the same liferay instance) and we've few public pages in portal1. Now we want to access those pages from portal2 in a popup. We've tried the following code and it doesn't work. Can anyone help?
 1
 2    AUI().use('aui-dialog', 'aui-io', 'event', 'event-custom', function(A) {
 3        var dialog = new A.Dialog({
 4            title : title,
 5            draggable : true,
 6            resizable : false,
 7            destroyOnClose : true,
 8            modal : true,
 9            width : 800
10        }).plug(A.Plugin.IO, {
11            uri : url + "&p_p_state=exclusive"
12        }).render();
13        dialog.show();
14    });   


The above popup works perfectly when accessed from portal1.
Hitoshi Ozawa
RE: How to access liferay content across portal instances
27 de Maio de 2012 15:21
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

I haven't checked you code, but what's the privilege on web content you can't view?
Ramesh J
RE: How to access liferay content across portal instances
1 de Junho de 2012 07:10
Resposta

Ramesh J

Ranking: Junior Member

Mensagens: 43

Data de entrada: 21 de Julho de 2009

Mensagens recentes

It's a public page and 'guest' has 'view' permissions on it. Please let me know if you are asking something else.

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!