FreeMarker Taglib Macros

Liferay DXP’s taglibs are mapped to FreeMarker macros, so you can use them in your FreeMarker templates. See the Taglib tutorials for more information on using each taglib in your theme templates. The taglib macros are defined in taglib-mappings.properties files. For convenience, these macros are listed in the table below:

Macro Taglib TLD
liferay_aui liferay-aui liferay-aui.tld
liferay_portlet liferay-portlet liferay-portlet-ext.tld
liferay_security liferay-security liferay-security.tld
liferay_theme liferay-theme liferay-theme.tld
liferay_ui liferay-ui liferay-ui.tld
liferay_util liferay-util liferay-util.tld
portlet portlet liferay-portlet.tld
liferay_frontend liferay-frontend liferay-frontend.tld
clay clay liferay-clay.tld
liferay_map liferay-map liferay-map.tld
liferay_rss liferay-rss liferay-rss.tld
liferay_flags liferay-flags liferay-flags.tld
liferay_expando liferay-expando liferay-expando.tld
liferay_journal liferay-journal liferay-journal.tld
liferay_social_bookmarks liferay-social-bookmarks liferay-social-bookmarks.tld
liferay_site liferay-site liferay-site.tld
liferay_comment liferay-comment liferay-comment.tld
liferay_social_activities liferay-social-activities liferay-social-activities.tld
liferay_asset liferay-asset liferay-asset.tld
liferay_trash liferay-trash liferay-trash.tld
liferay_item_selector liferay-item-selector liferay-item-selector.tld
liferay_layout liferay-layout liferay-layout.tld
liferay_editor liferay-editor liferay-editor.tld
liferay-fragment liferay-fragment liferay-fragment.tld
liferay_reading_time liferay-reading-time liferay-reading-time.tld
liferay_site_navigation liferay-site-navigation liferay-site-navigation.tld
adaptive_media_image liferay-adaptive-media liferay-adaptive-media.tld
liferay_product_navigation liferay-product-navigation liferay-product-navigation.tld
« Fully Qualified Portlet IDsSetting up Your npm Environment »
この記事は役に立ちましたか?
1人中0人がこの記事が役に立ったと言っています