留言板

liferay open portlet Configuration screen no title bar

Morad Ahmad,修改在8 年前。

liferay open portlet Configuration screen no title bar

Junior Member 帖子: 71 加入日期: 10-6-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.
thumbnail
Julien Mourad,修改在8 年前。

RE: liferay open portlet Configuration screen no title bar

Junior Member 帖子: 78 加入日期: 15-1-22 最近的帖子
You can actually access the configurations by URL. For example:


http://localhost:8080/
?p_p_id=86
&amp;p_p_lifecycle=0
&amp;p_p_state=pop_up
&amp;p_p_col_id=column-1
&amp;p_p_col_pos=1
&amp;p_p_col_count=2
&amp;_86_struts_action=%2Fportlet_configuration%2Fedit_permissions
&amp;_86_portletResource=<portlet-name>_WAR_<project-name>
&amp;_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