O'Reilly logo

Liferay User Interface Development by Frank Yu, Xinsheng Chen, Jonas X. Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Portlet content and portlet template

A portlet in Liferay has two parts:

  • Portlet content: The internal part that shows text and/or images to a user.
  • Portlet template: The external part that contains icons for configuration of the portlet. This part can be customized with a theme.
Portlet content and portlet template

When a portlet is rendered, Liferay draws a box around it. This behavior has been configured in a $PLUGINS_SDK_HOME/portlets/uisix-portlet/docroot/WEB-INF/liferay-portlet.xml file. The outlook of this box can be completely customized by the template file $AS_ROOT_HOME/html/common/themes/portlet.jsp. This file is responsible for drawing the template box, as shown in the figure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required