liferay-display_7_0_0.dtd: Elements - Entities - Source | Intro - Index
FRAMES / NO FRAMES

liferay-display_7_0_0.dtd

<!DOCTYPE display PUBLIC "-//Liferay//DTD Display 7.0.0//EN" "http://www.liferay.com/dtd/liferay-display_7_0_0.dtd">



<display> Root element

The display element is the root of the deployment descriptor that describes how portlets are categorized and displayed for users to choose when personalizing a page in Liferay Portal.

<display>'s children
NameCardinality
categoryAny number
Element's model:

(category*)


<category> Child of display

The category element organizes a set of portlets. A portlet can exist in more than one category.

<category>'s children
NameCardinality
categoryAny number
portletAny number
<category>'s attributes
NameValuesDefault
name
Element's model:

(category*, portlet*)


@name Attribute of category

The name of a category is mapped to the portal's Language properties. If the category name is "test", then the key in the portal's resource bundle will be "category.test".

See:

https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/localization

Required


<portlet> Child of category

The portlet element represents a portlet.

<portlet>'s attributes
NameValuesDefault
id

@id Attribute of portlet

The id must match the unique portlet-name specified in portlet.xml.

Required