liferay-display_7_4_0.dtd
: Elements - Entities - Source | Intro - Index
FRAMES / NO FRAMES
<!DOCTYPE display PUBLIC "-//Liferay//DTD Display 7.4.0//EN" "http://www.liferay.com/dtd/liferay-display_7_4_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.
Element's model:
<display>'s children Name Cardinality category Any number
(category*)
<category> | Child of display |
The category element organizes a set of portlets. A portlet can exist in more than one category.
Element's model:
<category>'s children Name Cardinality category Any number portlet Any number
<category>'s attributes Name Values Default name
@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-1/internationalization
Required
<portlet> | Child of category |
The portlet element represents a portlet.
<portlet>'s attributes Name Values Default id
@id | Attribute of portlet |
The id must match the unique portlet-name specified in portlet.xml.
Required