Last active
August 15, 2018 18:05
-
-
Save evertonthepaula/7cd17e433e286362b4d059b1bd562ac4 to your computer and use it in GitHub Desktop.
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 curBlogEntry> | |
<h3>BlogEntry</h3> ${curBlogEntry} <br><hr> | |
<!-- PROPRIEDADES QUE ESTÃO DISPONÍVEIS --> | |
<H3>propriedades disponíveis:</H3> | |
<b>uuid:</b> ${curBlogEntry.uuid} <br> | |
<b>entryId:</b> ${curBlogEntry.entryId} <br> | |
<b>groupId:</b> ${curBlogEntry.groupId} <br> | |
<b>status:</b> ${curBlogEntry.status} <br> | |
<b>companyId:</b> ${curBlogEntry.companyId} <br> | |
<b>userId:</b> ${curBlogEntry.userId} <br> | |
<b>userName:</b> ${curBlogEntry.userName} <br> | |
<b>title:</b> ${curBlogEntry.title} <br> | |
<b>subtitle:</b> ${curBlogEntry.subtitle} <br> | |
<b>urlTitle:</b> ${curBlogEntry.urlTitle} <br> | |
<b>description:</b> ${curBlogEntry.description} <br> | |
<b>content:</b> ${curBlogEntry.content} <br> | |
<b>trackbacks:</b> ${curBlogEntry.trackbacks} <br> | |
<b>coverImageCaption:</b> ${curBlogEntry.coverImageCaption} <br> | |
<b>coverImageURL:</b> ${curBlogEntry.coverImageURL} <br> | |
<b>coverImageFileEntryId:</b> ${curBlogEntry.coverImageFileEntryId} <br> | |
<b>smallImageFileEntryId:</b> ${curBlogEntry.smallImageFileEntryId} <br> | |
<b>smallImageId:</b> ${curBlogEntry.smallImageId} <br> | |
<b>smallImageURL:</b> ${curBlogEntry.smallImageURL} <br> | |
<b>statusByUserId:</b> ${curBlogEntry.statusByUserId} <br> | |
<b>statusByUserName:</b>${curBlogEntry.statusByUserName} <br> | |
<hr> | |
<!-- PROPRIEDADES DE DATA PRECISAM DE PARAMETROS ESPCIFICOS PARA O FREMARKER ENTENDER--> | |
<b>createDate</b>: ${curBlogEntry.createDate?string('dd/MM/yyyy HH:mm:ss')} <br> | |
<b>createDate</b>: ${curBlogEntry.createDate?date} <br> | |
<b>createDate</b>: ${curBlogEntry.createDate?time} <br> | |
<b>createDate</b>: ${curBlogEntry.createDate?datetime} <br> | |
<hr> | |
<b>createDate</b>: ${curBlogEntry.modifiedDate?string('dd/MM/yyyy HH:mm:ss')} <br> | |
<b>createDate</b>: ${curBlogEntry.modifiedDate?date} <br> | |
<b>createDate</b>: ${curBlogEntry.modifiedDate?time} <br> | |
<b>createDate</b>: ${curBlogEntry.modifiedDate?datetime} <br> | |
<hr> | |
<b>displayDate</b>: ${curBlogEntry.displayDate?string('dd/MM/yyyy HH:mm:ss')} <br> | |
<b>displayDate</b>: ${curBlogEntry.displayDate?date} <br> | |
<b>displayDate</b>: ${curBlogEntry.displayDate?time} <br> | |
<b>displayDate</b>: ${curBlogEntry.displayDate?datetime} <br> | |
<hr> | |
<b>statusDate</b>: ${curBlogEntry.statusDate?string('dd/MM/yyyy HH:mm:ss')} <br> | |
<b>statusDate</b>: ${curBlogEntry.statusDate?date} <br> | |
<b>statusDate</b>: ${curBlogEntry.statusDate?time} <br> | |
<b>statusDate</b>: ${curBlogEntry.statusDate?datetime} <br> | |
<hr> | |
<#if lastPublishDate??> | |
<b>lastPublishDate</b>: ${curBlogEntry.lastPublishDate?string('dd/MM/yyyy HH:mm:ss')} <br> | |
<b>lastPublishDate</b>: ${curBlogEntry.lastPublishDate?date} <br> | |
<b>lastPublishDate</b>: ${curBlogEntry.lastPublishDate?time} <br> | |
<b>lastPublishDate</b>: ${curBlogEntry.lastPublishDate?datetime} <br> | |
</#if> | |
<!-- Veja mais: https://freemarker.apache.org/docs/ref_builtins_date.html --> | |
<hr> | |
<!-- PROPRIEDADES BOLEANAS PRECISAM DE PARAMETROS ESPCIFICOS PARA O FREMARKER ENTENDER--> | |
<b>allowPingbacks</b>: ${curBlogEntry.allowPingbacks?c} <br> | |
<b>allowPingbacks</b>: ${curBlogEntry.allowPingbacks?string("yes", "no")} <br> <!-- deprecated use then --> | |
<b>allowPingbacks</b>: ${curBlogEntry.allowPingbacks?then("yes", "no")} <br> | |
<b>allowTrackbacks</b>: ${curBlogEntry.allowTrackbacks?c} <br> | |
<b>allowTrackbacks</b>: ${curBlogEntry.allowTrackbacks?string("yes", "no")} <br> <!-- deprecated use then --> | |
<b>allowTrackbacks</b>: ${curBlogEntry.allowTrackbacks?then("yes", "no")} <br> | |
<b>smallImage</b>: ${curBlogEntry.smallImage?c} <br> | |
<b>smallImage</b>: ${curBlogEntry.smallImage?string("yes", "no")} <br> <!-- deprecated use then --> | |
<b>smallImage</b>: ${curBlogEntry.smallImage?then("yes", "no")} <br> | |
<!-- Veja mais: https://freemarker.apache.org/docs/ref_builtins_boolean.html --> | |
<hr> | |
<!-- COVER IMAGE --> | |
<#if curBlogEntry.getCoverImageURL(themeDisplay)??> | |
<b>curBlogEntry.getCoverImageURL:</b> ${curBlogEntry.getCoverImageURL(themeDisplay)}<br><hr> | |
<h3>esta é a imagem de capa:</h3> | |
<img src="${curBlogEntry.getCoverImageURL(themeDisplay)}"> | |
<#else> | |
Não encontrei nenhum "get Cover image URL" <br><hr> | |
</#if> | |
<!-- SMALL IMAGE --> | |
<#if curBlogEntry.getSmallImageURL(themeDisplay)??> | |
<b>curBlogEntry.getSmallImageURL:</b> ${curBlogEntry.getSmallImageURL(themeDisplay)}<br><hr> | |
<h3>esta é a imagem small:</h3> | |
<img src="${curBlogEntry.getSmallImageURL(themeDisplay)}"> | |
<#else> | |
Não encontrei nenhum "get Cover image URL" <br><hr> | |
</#if> | |
<hr> | |
<!-- LINK PARA O CONTEÚDO --> | |
<#assign viewURL = renderResponse.createRenderURL()/> | |
${viewURL.setParameter("mvcRenderCommandName", "/blogs/view_entry")} | |
${viewURL.setParameter("redirect", currentURL)} | |
${viewURL.setParameter("urlTitle", curBlogEntry.getUrlTitle())} | |
${viewURL.setParameter("p_p_state", "maximized")} | |
<b>este é o link:</b> | |
<a href="${viewURL}">Read More</a> | |
</#list> | |
</#if> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment