掲示板

IFrame portlet and dynamic parameter

11年前 に Antonio Benvenuto によって更新されました。

IFrame portlet and dynamic parameter

New Member 投稿: 12 参加年月日: 11/06/19 最新の投稿
Hi all

I have two pages:

caller_page: where is deployed a portlet with a link to iframe_page
iframe_page: where is deplyed iframe portlet

Following ths tutorial:
http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Iframe+Portlet
I can pass paramaters from link in caller_page to iframe in iframe_page.

The problem:
To pass parameter to iframe portlet I need to build link as follow:
http://localhost:8080/web/guest/home?p_p_id=48_INSTANCE_1Kv8&_48_INSTANCE_1Kv8_iframe_example1=value1
So I need to know the generated "INSTANCE_ID" ,in the example,"_48_INSTANCE_1Kv8_".

In which why I can retrieve this value dinamically if iframe portlet is deployed into another page?

Thank you
Antonio