Hi, folks!
I am trying to use the following code to format a date field to the Brazilian fomat ("DD/MM/YYYY"):
${news.PublishedDate.string("yyyy-MM-dd")}
But, when Alfresco render the web form content, I get this error:
Error generating rendition using radio_final.ftl: freemarker.template.TemplateException: Expected method. radionovo.DataPublicacao.string evaluated instead to freemarker.ext.dom.NodeListModel on line 71, column 19 in freemarker_template.
What could be wrong? Is there another way to do this formatting?
Tks!