フォーラム

ホーム » Liferay Portal » English » 2. Using Liferay » General

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Ramesh J
How to access liferay content across portal instances
2012/05/26 6:41
答え

Ramesh J

ランク: Junior Member

投稿: 43

参加年月日: 2009/07/21

最近の投稿

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
2012/05/27 15:21
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7949

参加年月日: 2010/03/23

最近の投稿

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
2012/06/01 7:10
答え

Ramesh J

ランク: Junior Member

投稿: 43

参加年月日: 2009/07/21

最近の投稿

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