Skip to content

Instantly share code, notes, and snippets.

@baxtheman
Created August 19, 2019 12:17
Show Gist options
  • Save baxtheman/2a482db1acaf994bcd614333cf4b25a5 to your computer and use it in GitHub Desktop.
Save baxtheman/2a482db1acaf994bcd614333cf4b25a5 to your computer and use it in GitHub Desktop.
Liferay 7, asset publisher ADT, list preferences and variables context
<div>
<pre>
<#list portletPreferences?keys as preference>
<#if portletPreferences[preference] ??>
<#assign mapValues = portletPreferences[preference] />
<#list mapValues as value >
${preference} = ${value}<br />
</#list>
</#if>
</#list>
<#list .data_model?keys as key>
${key}
</#list>
</pre>
</div>
<#-- LIST VARIABLES
abstractLength
accountPermission
adaptive_media_image
anyAssetType
anyClassTypeDLFileEntryAssetRendererFactory
anyClassTypeJournalArticleAssetRendererFactory
Application
arrayUtil
assetEntryXml
assetLinkBehavior
assetPublisherHelper
assetVocabularyId
auditMessageFactoryUtil
auditRouterUtil
bodyCssClass
browserSniffer
calendarFactory
chart
class_name_id
classNameIds
classTypeIds
classTypeIdsDLFileEntryAssetRendererFactory
classTypeIdsJournalArticleAssetRendererFactory
clay
colorScheme
commonPermission
company
companyId
currentURL
customUserAttributes
dateFormatFactory
dateFormats
dateUtil
ddmStructureDisplayFieldValue
ddmStructureFieldName
ddmStructureFieldValue
delta
device
displayStyle
displayStyleGroupId
emailAssetEntryAddedBody_ar_SA
emailAssetEntryAddedBody_ca_ES
emailAssetEntryAddedBody_de_DE
emailAssetEntryAddedBody_en_US
emailAssetEntryAddedBody_es_ES
emailAssetEntryAddedBody_fi_FI
emailAssetEntryAddedBody_fr_FR
emailAssetEntryAddedBody_hu_HU
emailAssetEntryAddedBody_it_IT
emailAssetEntryAddedBody_ja_JP
emailAssetEntryAddedBody_nl_NL
emailAssetEntryAddedBody_pt_BR
emailAssetEntryAddedBody_sv_SE
emailAssetEntryAddedBody_zh_CN
emailAssetEntryAddedEnabled
emailAssetEntryAddedSubject_ar_SA
emailAssetEntryAddedSubject_ca_ES
emailAssetEntryAddedSubject_de_DE
emailAssetEntryAddedSubject_es_ES
emailAssetEntryAddedSubject_fi_FI
emailAssetEntryAddedSubject_fr_FR
emailAssetEntryAddedSubject_hu_HU
emailAssetEntryAddedSubject_it_IT
emailAssetEntryAddedSubject_ja_JP
emailAssetEntryAddedSubject_nl_NL
emailAssetEntryAddedSubject_pt_BR
emailAssetEntryAddedSubject_sv_SE
emailAssetEntryAddedSubject_zh_CN
emailFromAddress
emailFromName
enableCommentRatings
enableComments
enableFlags
enablePermissions
enablePrint
enableRatings
enableRelatedAssets
enableRss
enableSubscriptions
enableTagBasedNavigation
enableViewCountIncrement
entries
entry
enumUtil
expandoColumnLocalService
expandoRowLocalService
expandoTableLocalService
expandoValueLocalService
freeMarkerPortletPreferences
fullCssPath
fullJOURNAL_TEMPLATE_ID
fullTemplatesPath
getterUtil
groupId
groupPermission
htmlUtil
httpUtil
imageToken
imageToolUtil
init
journalTemplatesPath
jsonFactoryUtil
languageUtil
layout
layoutPermission
layouts
layoutTypePortlet
liferay-fragment
liferay_asset
liferay_aui
liferay_comment
liferay_document_library
liferay_editor
liferay_expando
liferay_flags
liferay_frontend
liferay_item_selector
liferay_journal
liferay_layout
liferay_map
liferay_portlet
liferay_product_navigation
liferay_reading_time
liferay_rss
liferay_security
liferay_sharing
liferay_site
liferay_site_navigation
liferay_social_activities
liferay_social_bookmarks
liferay_theme
liferay_trash
liferay_ui
liferay_util
listJOURNAL_TEMPLATE_ID
locale
localeUtil
locationPermission
mergeUrlTags
metadataFields
navItems
notifiedAssetEntryIds
orderByColumn1
orderByColumn2
orderByType1
orderByType2
organizationPermission
paginationType
paramUtil
passwordPolicyPermission
permissionChecker
plid
portal
PortalJspTagLibs
portalPermission
portalUtil
portlet
portletDisplay
portletGroupId
PortletJspTagLibs
portletModeFactory
portletPermission
portletPreferences
portletProviderAction
portletURLFactory
prefsPropsUtil
propsUtil
queryAndOperator0
queryContains0
queryName0
randomizer
randomNamespace
realUser
renderRequest
renderResponse
Request
request
rolePermission
rssDelta
rssDisplayStyle
rssFeedType
rssName
saxReaderUtil
scopeGroupId
selectionStyle
sessionClicks
showAddContentButton
showAssetTitle
showAvailableLocales
showContextLink
showExtraInfo
showMetadataDescriptions
showOnlyLayoutAssets
showQueryLogic
siteGroupId
socialBookmarksDisplayStyle
socialBookmarksTypes
stringUtil
subtypeFieldsFilterEnabled
subtypeFieldsFilterEnabledDLFileEntryAssetRendererFactory
subtypeFieldsFilterEnabledJournalArticleAssetRendererFactory
taglibLiferayHash
template_id
templatesPath
theme
themeDisplay
themeDisplayModel
timeZone
timeZoneUtil
unicodeFormatter
unicodeLanguageUtil
user
userGroupPermission
userPermission
validator
webServerToken
windowStateFactory
writer
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment