This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reserved-article-asset-tag-names | |
reserved-article-author-comments | |
reserved-article-author-email-address | |
reserved-article-author-id | |
reserved-article-author-job-title | |
reserved-article-author-location | |
reserved-article-author-name | |
reserved-article-author-organization | |
reserved-article-create-date | |
reserved-article-description |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#-- Liferay info on templates: https://dev.liferay.com/discover/portal/-/knowledge_base/7-0/designing-uniform-content --> | |
<#-- There is more than just a way of doing this: --> | |
<#-- Option 1 --> | |
<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> | |
<#if entries?has_content> | |
<#list entries as curEntry> | |
<#assign article = curEntry.getAssetRenderer().getArticle() /> | |
<#assign model = objectUtil("com.liferay.portal.kernel.portlet.PortletRequestModel", renderRequest, renderResponse) /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#if entries?has_content> | |
encontrei conteudo <br><hr> | |
<#list entries as curEntry> | |
<h3>Entries:</h3> ${curEntry} <br><hr> | |
<!-- PROPRIEDADES QUE ESTÃO DISPONÍVEIS --> | |
<H3>propriedades disponíveis:</H3> | |
<b>entryId</b>: ${curEntry.entryId} <br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#if entries?has_content> | |
<#list entries as curEntry> | |
<#assign AssetRenderer = curEntry.getAssetRenderer()> | |
<#assign journalArticle = AssetRenderer.getArticle() /> | |
<#assign document = saxReaderUtil.read(journalArticle.getContent()) /> | |
<#assign rootElement = document.getRootElement() /> | |
<!-- FORMA 01 --> | |
<#list rootElement.elements() as dynamicElement> |