Which taglib is used to embed a journal article in Liferay?

Prepare for the Liferay Front End Certification. Boost your skills with flashcards and multiple choice questions, each with detailed hints and explanations. Excel in your exam!

The taglib used to embed a journal article in Liferay is described by the appropriate syntax found in option B. The <@liferay_journal["journal-article"] ... /> tag is specifically designed for rendering journal article content within a Liferay page. It provides a way to include the content of a journal article directly into a custom view, ensuring that the article's formatting and features are correctly integrated into the overall performance of the site.

This taglib is particularly valuable for developers who want to present dynamic content, such as articles created within the Liferay site, in a modular fashion. By using this tag, one can specify various attributes such as the article's ID or structure, allowing for flexibility in how articles are displayed in different contexts.

Other taglibs listed serve different purposes that are not specifically focused on journal articles. For example, the asset display taglib is aimed at showcasing a range of Liferay assets but does not specifically target journal articles. The portlet runtime taglib is utilized for embedding portlets, which are different components of Liferay architecture. The layout taglib is meant for managing and manipulating page layouts, and does not directly relate to journal articles.

Therefore, option B is the most appropriate choice for embedding a journal

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy