掲示板
liferay open portlet Configuration screen no title bar
8年前 に Morad Ahmad によって更新されました。
liferay open portlet Configuration screen no title bar
Junior Member 投稿: 71 参加年月日: 10/06/16 最新の投稿
I configure my portlets to not use header/title bar in liferay-portlet.xml using:
<use-default-template>false</use-default-template>
In some cases I want to configure my portlets however. How can I open the configuration dialog?
Thanks,
Morad.
<use-default-template>false</use-default-template>
In some cases I want to configure my portlets however. How can I open the configuration dialog?
Thanks,
Morad.
8年前 に Julien Mourad によって更新されました。
RE: liferay open portlet Configuration screen no title bar
Junior Member 投稿: 78 参加年月日: 15/01/22 最新の投稿
You can actually access the configurations by URL. For example:
<portlet-name> is the value from the portlet.xml file.
<project-name> is the "servlet context" which is the name of the project in eclipse
http://localhost:8080/
?p_p_id=86
&p_p_lifecycle=0
&p_p_state=pop_up
&p_p_col_id=column-1
&p_p_col_pos=1
&p_p_col_count=2
&_86_struts_action=%2Fportlet_configuration%2Fedit_permissions
&_86_portletResource=<portlet-name>_WAR_<project-name>
&_86_resourcePrimKey=<portlet-name>_WAR_<project-name>
</project-name></portlet-name></project-name></portlet-name>
<portlet-name> is the value from the portlet.xml file.
<project-name> is the "servlet context" which is the name of the project in eclipse