Plugins “如何打开”;“Portlet首选项”;Liferay中的对话框页面?

Plugins “如何打开”;“Portlet首选项”;Liferay中的对话框页面?,plugins,tags,liferay,liferay-theme,Plugins,Tags,Liferay,Liferay Theme,在CompactTags portlet的手册中说,用户应该在portlet安装后“打开首选项界面”(如前所述) 如果我按下扳手图标,我只会得到“外观”和“配置”条目 这是否意味着我的主题有问题?在您的portlet.xml中,您必须支持portlet的“编辑”模式。这就是JSR-286标准命名“首选项”设置的方式。IMHO Liferay选择的“首选项”比“编辑”更好,因此它用于面向用户的界面 此外,相关用户必须具有“编辑”portlet的权限 部分portlet.xml: <port

在CompactTags portlet的手册中说,用户应该在portlet安装后“打开首选项界面”(如前所述)

如果我按下扳手图标,我只会得到“外观”和“配置”条目


这是否意味着我的主题有问题?

在您的portlet.xml中,您必须支持portlet的“编辑”模式。这就是JSR-286标准命名“首选项”设置的方式。IMHO Liferay选择的“首选项”比“编辑”更好,因此它用于面向用户的界面

此外,相关用户必须具有“编辑”portlet的权限

部分portlet.xml:

<portlet>
  ....
  <supports>
     <mime-type>text/html</mime-type>
     <portlet-mode>view</portlet-mode>
     <portlet-mode>edit</portlet-mode> <!-- this is what you need -->
  </supports>
  ...
</portlet>

....
文本/html
看法
编辑
...

在portlet.xml中,您必须支持portlet的“编辑”模式。这就是JSR-286标准命名“首选项”设置的方式。IMHO Liferay选择的“首选项”比“编辑”更好,因此它用于面向用户的界面

此外,相关用户必须具有“编辑”portlet的权限

部分portlet.xml:

<portlet>
  ....
  <supports>
     <mime-type>text/html</mime-type>
     <portlet-mode>view</portlet-mode>
     <portlet-mode>edit</portlet-mode> <!-- this is what you need -->
  </supports>
  ...
</portlet>

....
文本/html
看法
编辑
...

当portlet在portlet.xml中配置了编辑模式时,会出现首选项选项,您所指的portlet没有该模式。
portlet中缺少代码。

当portlet在portlet.xml中配置了编辑模式时,会出现首选项选项,您所引用的portlet没有该选项。
portlet中缺少代码。

当portlet在portlet.xml中配置了编辑模式时,会出现Preferences选项,您所指的portlet没有该模式。portlet中缺少代码。当portlet在portlet.xml中配置了编辑模式时,会出现Preferences选项,您所引用的portlet没有该模式。portlet中缺少代码。