掲示板
Popup containing portlet only
7年前 に Gunnar Brinkmann によって更新されました。
Popup containing portlet only
Junior Member 投稿: 53 参加年月日: 11/12/02 最新の投稿
Hello
I'm thinking about the following pattern:
- My portlet A calls another portlet B in a browser popup window
- The popup window contains only the portlet B, no portal / navigation
Can I do this, for example via using some template? (we have a custom theme)
In other words: Can I call a friendly URL for a page that comes without any Portal UI?
Usecase:
- Portal and portlet A in browser window A on screen A
- Portlet B in browser popup window B on screen B, but no "second Liferay UI"
(maximizing browser A over the two screens is no option)
Regards
Gunnar (6.2 EE SP14 PrimeFaces 5.2 Portlets)
I'm thinking about the following pattern:
- My portlet A calls another portlet B in a browser popup window
- The popup window contains only the portlet B, no portal / navigation
Can I do this, for example via using some template? (we have a custom theme)
In other words: Can I call a friendly URL for a page that comes without any Portal UI?
Usecase:
- Portal and portlet A in browser window A on screen A
- Portlet B in browser popup window B on screen B, but no "second Liferay UI"
(maximizing browser A over the two screens is no option)
Regards
Gunnar (6.2 EE SP14 PrimeFaces 5.2 Portlets)
7年前 に Neil Griffin によって更新されました。
RE: Popup containing portlet only
Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
You can use p_p_state=pop_up (Liferay Specific, BTW) on a Liferay portlet RenderURL in a popup window. Here is an example RenderURL from the Liferay Faces Showcase at liferayfaces.org.
You should be able to get the RenderURL in a Facelet view like this:
You should be able to get the RenderURL in a Facelet view like this:
<portlet:renderurl var="renderURL" windowState="pop_up" />
7年前 に Gunnar Brinkmann によって更新されました。
RE: Popup containing portlet only
Junior Member 投稿: 53 参加年月日: 11/12/02 最新の投稿Neil GriffinYou can use p_p_state=pop_up (Liferay Specific, BTW) on a Liferay portlet RenderURL in a popup window. Here is an example RenderURL from the Liferay Faces Showcase at liferayfaces.org.
You should be able to get the RenderURL in a Facelet view like this:<portlet:renderurl var="renderURL" windowState="pop_up" />
Hello (the one and only) Neil, thank you very much, I'll try it (may take a while, development of portlet B hasn't started so far).
Regards
Gunnar