Which tag is used to add a custom portlet decorator in liferay-look-and-feel.xml?

Study for the Liferay Front End Certification Test. Utilize flashcards and multiple-choice questions, with hints and explanations provided for each query. Prepare thoroughly for your exam!

The use of the "portlet-decorator" tag in the liferay-look-and-feel.xml file is crucial for implementing custom portlet decorators within Liferay. This tag allows developers to specify a decorator class that modifies the appearance and functionality of portlets. By doing so, it enables the customization of how individual portlets are rendered on the user's screen, thus providing greater flexibility in the user interface.

When the "portlet-decorator" tag is defined, it links to a custom Java class that extends the default portlet rendering behavior. This is essential for developers who need to maintain a consistent look and feel across various portlets, as it grants the ability to apply specific styles or behaviors to enhance the user experience.

The other options do not pertain to custom portlet decorators in the context of liferay-look-and-feel.xml. While "layout-template" refers to the overall layout structure of a theme, "themelet" specifies a reusable component within a theme, and "application-decorator" is a more general term that may refer to decorators applied at the application level, none of them directly address the specific customization of individual portlet decorators as effectively as the "portlet-decorator" tag does. Therefore, the choice

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy