Liferay Web内容显示Portlet:外观

编程入门 行业动态 更新时间:2024-10-21 17:24:44
本文介绍了Liferay Web内容显示Portlet:外观-Portlet配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

添加Web内容显示portlet后,单击外观-Portlet配置-显示边框.

After adding web content display portlet , click on Look and Feel - Portlet Configuration - Show Borders.

如果我取消选中显示边框",则会按照以下屏幕截图显示三个链接

If i uncheck Show Borders, it display three links as per below screenshot

谁能告诉这三个链接代码包含在哪个文件中?

Can anyone tell this three links code contains in which file?

我只想从所有portlet中删除关闭链接

I want to remove close link only from all the portlet

推荐答案

这些portlet选项来自以下文件:

Those portlet options come from below files:

portal-web\docroot\html\themes\_unstyled\templates\portlet.vm portlet.vm使用$theme.portletIconOptions()包含不同的选项(配置,关闭,最大化,最小化等)

portal-web\docroot\html\themes\_unstyled\templates\portlet.vm portlet.vm uses $theme.portletIconOptions() to include different options (configuration, close, Maximize, Minimize etc)

util-taglib\src\com\liferay\taglib\util\VelocityTaglibImpl.java

此类的portletIconOptions方法的实现使用了IconOptionsTag-自定义标记.

Implementation of portletIconOptions method is in this class which uses IconOptionsTag - custom tag.

util-taglib\src\com\liferay\taglib\portletext\IconOptionsTag.java

依次为每个选项使用不同的自定义标签.

And this in-turn uses different custom tags for each of the options.

portal-web\docroot\html\taglib\portlet\icon_options\page.jsp

<liferay-portlet:icon-portlet-css /> <liferay-portlet:icon-configuration /> <liferay-portlet:icon-edit /> <liferay-portlet:icon-edit-defaults /> <liferay-portlet:icon-edit-guest /> <liferay-portlet:icon-export-import /> <liferay-portlet:icon-help /> <liferay-portlet:icon-print /> <liferay-portlet:icon-maximize /> <liferay-portlet:icon-minimize /> <liferay-portlet:icon-close />

`

更多推荐

Liferay Web内容显示Portlet:外观

本文发布于:2023-07-17 02:45:14,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1128586.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:外观   内容   Liferay   Web   Portlet

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!