论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
Antonio Benvenuto
IFrame portlet and dynamic parameter
2012年5月29日 上午5:12
答复

Antonio Benvenuto

等级: New Member

帖子: 12

加入日期: 2011年6月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