An error occurred while processing the template.
Java method "com.liferay.journal.model.impl.JournalArticleImpl.getContentByLocale(String)" threw an exception when invoked on com.liferay.journal.model.impl.JournalArticleImpl object "{uuid=57046302-6d97-ca2a-719f-4645737b11c6, id=4682437, resourcePrimKey=4682438, groupId=384951, companyId=20116, userId=47315, userName=Ambientia Migration, createDate=Wed Jul 09 11:11:47 EEST 2014, modifiedDate=Wed Jan 30 12:43:12 EET 2019, folderId=415333, classNameId=0, classPK=0, treePath=/415333/, articleId=4682436, version=1.0, title=<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"fi_FI,en_US,hr_HR,\" default-locale=\"fi_FI\"><Title language-id=\"en_US\">Celebrating the Finnish name of the day</Title><Title language-id=\"fi_FI\">Celebrating the Finnish name of the day</Title><Title language-id=\"hr_HR\">Proslava imendana u Finskoj</Title></root>, urlTitle=celebrating-the-finnish-name-of-the-d-1, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"fi_FI,en_US,hr_HR,\" default-locale=\"fi_FI\"><Description language-id=\"en_US\">People in Finland celebrate name days as well as birthdays. We look at a tradition that stretches back to medieval times.</Description><Description language-id=\"fi_FI\">People in Finland celebrate name days as well as birthdays. We look at a tradition that stretches back to medieval times.</Description><Description language-id=\"hr_HR\">U Finskoj se ne slavi samo rođendan svake godine, već i imendan. Tradicija dodjeljivanja imena određenim datumima potječe još iz srednjeg vijeka.</Description></root>, content=<?xml version=\"1.0\"?> \n<root available-locales=\"hr_HR,en_US\" default-locale=\"fi_FI\"> \n <dynamic-element name=\"content\" type=\"text_area\" index-type=\"text\"> \n  <dynamic-content language-id=\"hr_HR\">\n   &lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;h1&gt;&lt;strong&gt;Proslava imendana u Finskoj&lt;/strong&gt;&lt;/h1&gt; &lt;div class=\"kuvitusvasemmalla\" style=\"width: 464px\"&gt; &lt;small&gt;Napisao:James O’Sullivan, lipanj 2014.&lt;br&gt; Photo: Sabrina Salzano&lt;/br&gt;&lt;/small&gt; &lt;img alt=\"Finnish name days, calendar, celebration, tradition, Almanac Office of Helsinki University, Finland-Swedish, Sámi\" class=\"kuva\" src=\"/public/download.aspx?ID=132157&amp;amp;guid={82EB119D-EFE0-4A57-82D4-0D2771FABB0E}&amp;amp;maxwidth=477&amp;amp;maxheight=500\"&gt; &lt;p&gt; Personalizirane za širok izbor finskih imena, ove oznake za knjige (\"gusjenice za knjige\" na finskom), označiti će vašu stranicu u knjizi dok vi slavite svoj imendan.&lt;/p&gt; &lt;/img&gt; &lt;/div&gt;&lt;p class=\"ingress\"&gt; U Finskoj se ne slavi samo rođendan svake godine, već i imendan. Tradicija dodjeljivanja imena određenim datumima potječe još iz srednjeg vijeka.&lt;/p&gt;&lt;p&gt; Finci su poznati po svojoj učinkovitosti i organizacijskim sposobnostima, pa onda i ne iznenađuje da se štampa oko 14 milijuna kalendara svake godine. Tradicija imendana, pri čemu je ime ili skup imena dodijeljeno svakom danu u kalendaru, ima duboke korijene u finskoj kulturi.&lt;/p&gt;&lt;p&gt; “Kada pogledate finski kalendar imendana, možete vidjeti sažetu povijest Finske,” objašnjava Minna Saarelma-Paukkala, pročelnica Ureda za kalendar Sveučilišta u Helsinkiju, koji je odgovoran za koordinaciju imendana.&lt;/p&gt;&lt;p&gt; “Ovaj običaj potječe iz srednjeg vijeka. U kalendaru ima i nekoliko imena iz pretkršćanskog razdoblja, poput imena Väinö; zatim su tu katolička imena, potom švedska imena i nekoliko ruskih imena. Nakon toga dolaze finska imena iz razdoblja našeg nacionalnog buđenja te razna nova imena koja su došla s nedavnim međunarodnim utjecajima.”&lt;/p&gt;&lt;h3 class=\"ingress\"&gt;&lt;strong&gt;Provjera kalendara&lt;/strong&gt;&lt;/h3&gt; &lt;div class=\"kuvitus1\"&gt; &lt;div class=\"kuvituscopyright\"&gt; Photo: Sabrina Salzano &lt;/div&gt; &lt;div class=\"kuvituskuva\"&gt; &lt;a href=\"/public/download.aspx?ID=132886&amp;amp;GUID={2396DD44-8001-45A7-8A75-D64DE3DCDF5A}\" rel=\"lightbox\" title=\"Nowadays name days are often celebrated with pastries, like this football-themed cake for Ronja\"&gt;&lt;img alt=\"Name Day\" class=\"kuva1\" src=\"/public/download.aspx?ID=132886&amp;amp;GUID={2396DD44-8001-45A7-8A75-D64DE3DCDF5A}&amp;amp;maxwidth=215&amp;amp;maxheight=500\" title=\"Name Day\" /&gt;&lt;/a&gt; &lt;/div&gt; &lt;div class=\"kuvateksti\"&gt; &lt;p&gt; U današnje vrijeme imendani se često slave prigodnim kolačima, poput ove torte u obliku nogometne lopte za Ronju.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt;&lt;p&gt; Kako se važnost imendana mijenjala tijekom stoljeća tako su se i mijenjale različite tradicije povezane s imendanima. Finci više ne stavljaju imendansko drvo na stol u nadi da će se ispod njega naći pokloni, niti podižu ukrašeni stup u dvorištu ali tradicija i dalje ima posebno značenje za mnoge.&lt;/p&gt;&lt;p&gt; “Danas su to većinom proslave&amp;nbsp;uz kolač i kavu,” kaže Saarelma-Paukkala. \"To je dobro, jer neki ljudi ne žele slaviti svoje rođendane, jer starenje nije uvijek ugodno za svakoga. No, oni uvijek mogu slaviti svoj imendan.”&amp;nbsp;&lt;/p&gt;&lt;p&gt; Finski kalendar imendana trenutno sadrži 834 imena; popis se ažurira svake pete godine. Glavni kriterij za uključivanje je količina - najmanje 500 djece mora biti imenovano imenom da bi to ime bilo uvršteno u kalendar.&lt;/p&gt;&lt;p&gt; Popis za 2015. godinu&amp;nbsp; sadrži niz novih imena, ali niti jedno ime nije uklonjeno iz kalendara. Saarelma-Paukkala objašnjava kako zbog fluktuacije popularnost tijekom godina, mnoga imena ponovo postaju popularna. Osim toga, neke klasična imena, kao što su Matti, Juhani, Anna Maria, i dalje uživaju popularnost među roditeljima.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Sve vrste imendana&lt;/strong&gt;&lt;/p&gt; &lt;div class=\"kuvitus1\"&gt; &lt;div class=\"kuvituscopyright\"&gt; Photo: Sabrina Salzano &lt;/div&gt; &lt;div class=\"kuvituskuva\"&gt; &lt;a href=\"/public/download.aspx?ID=132888&amp;amp;GUID={448FEFAD-9D59-4F80-87B2-DA3C7D378EFC}\" rel=\"lightbox\" title=\"With these towel holders, everyone with a Finnish name can be a star.\"&gt;&lt;img alt=\"Name Day\" class=\"kuva1\" src=\"/public/download.aspx?ID=132888&amp;amp;GUID={448FEFAD-9D59-4F80-87B2-DA3C7D378EFC}&amp;amp;maxwidth=215&amp;amp;maxheight=500\" title=\"Name Day\" /&gt;&lt;/a&gt; &lt;/div&gt; &lt;div class=\"kuvateksti\"&gt; S ovim držačima za ručnike svatko u s finskim imenom može biti zvijezda. &lt;/div&gt; &lt;/div&gt;&lt;p&gt; Dok neki Finci imaju do tri imena, Emma i Onni [potonje ime znači \"sreća\"] su na vrhu popisa prvih imena danih djeci rođenoj u Finskoj u 2013.&lt;/p&gt;&lt;p&gt; Osim toga, najpopularnija prva imena među Fincima kojima je materinji jezik švedski te godine bila su Ellen i Emil. (Finska je službeno dvojezična i 5.5 posto stanovništva smatra švedski svojim materinjim jezikom.) Ustvari, finski Šveđani imaju vlasti kalendar imendana za proslavu švedskih imena.&lt;/p&gt;&lt;p&gt; “Pedeset registriranih izvornih govornika švedskog jezika moraju imati isto ime kako bi to ime moglo uči u kalendar imendana,” objašnjava Leila Mattfolk, odgovorna za Švedski kalendar imendana. “Moraju biti rođeni 1965. godine ili kasnije, isto pravilo vrijedi i za izvorne govornike finskog jezika.”&amp;nbsp;&lt;/p&gt;&lt;p&gt; Autohtono stanovništvo Finske - Sami također imaju svoj kalendar imendana. Nadalje, pravoslavni kalendar imendana prepoznaje dane svetaca koje štuje 1% stanovništva pripadnika pravoslavne vjere.&lt;/p&gt;&lt;p&gt; No to nije kraj finskim proslavama imendana: \"Mi Finci imamo i službene kalendare imendana &amp;nbsp;za mačke i pse\", kaže Mattfolk. \"Možete ih kupiti u trgovinama za kućne ljubimce. Takvi kalendari također&amp;nbsp;postoje i za konje.\"&lt;/p&gt; &lt;div style=\"border-bottom: rgb(153,153,153) 1px dotted; margin: 16px 0px; clear: both; border-top: medium none\"&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Bez imena dva mjeseca&lt;/strong&gt;&lt;/p&gt;&lt;p&gt; Znate li da djeca u Finskoj najčešće provedu prva dva mjeseca svog života bez službenog imena? Roditelji imaju rok od dva mjeseca za registraciju imena djeteta u Informacijskom sustavu stanovništva, stoga se mnogi odluče čekati dosta dugo nakon rođenja djeteta kako bi se odlučili za ime obiteljske prinove. Minna Saarelma-Paukkala iz Ureda za kalendar Sveučilišta&amp;nbsp;u Helsinkiju\u000160;ističe kako je ta tradicija vjerojatno povezana uz činjenicu da su ljudi nekada živjeli u izoliranim dijelovima šume te im je trebalo prilično vremena za dug put do grada gdje je dijete moglo biti kršteno.&lt;/p&gt; &lt;div style=\"border-bottom: rgb(153,153,153) 1px dotted; margin: 16px 0px; clear: both; border-top: medium none\"&gt;&lt;/div&gt;&lt;p&gt; Izvor&amp;nbsp;&lt;a href=\"http://finland.fi/Public/default.aspx?contentid=308304&amp;amp;nodeid=41800&amp;amp;culture=en-US\" target=\"_blank\"&gt;thisisFINLAND&lt;/a&gt;&lt;/p&gt;&lt;p class=\"ingress\"&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;!--http://www.finland.hr/public/default.aspx?contentid=309352&amp;currentnodeid=38942--&gt;\n  </dynamic-content> \n  <dynamic-content language-id=\"en_US\">\n   &lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;h1&gt; Celebrating the Finnish name of the day&lt;/h1&gt; &lt;div class=\"kuvitusvasemmalla\" style=\"width: 464px\"&gt; &lt;small&gt;Photo: Sabrina Salzano&lt;/small&gt; &lt;img alt=\"Finnish name days, calendar, celebration, tradition, Almanac Office of Helsinki University, Finland-Swedish, Sámi\" class=\"kuva\" src=\"/public/download.aspx?ID=132157&amp;amp;guid={82EB119D-EFE0-4A57-82D4-0D2771FABB0E}&amp;amp;maxwidth=477&amp;amp;maxheight=500\"&gt;Personalised for a wide selection of Finnish names, these bookworms (“reading caterpillars” in Finnish), will hold your page while you take time out to celebrate your name day. &lt;/img&gt; &lt;/div&gt;&lt;p class=\"ingress\"&gt; In Finland, people not only celebrate their birthdays each year, but their name days as well. The tradition of assigning names to specific dates stretches back to medieval times.&lt;/p&gt;&lt;p&gt; Finns are renowned for their efficiency and organisational skills, so perhaps it may not come as a surprise to discover that a combined press run of around 14 million calendars is published in Finland each year. The practice of name days, whereby a name or set of names is assigned to each day in the calendar, has deep roots in Finnish culture.&amp;nbsp;&lt;/p&gt;&lt;p&gt; “When you look at the Finnish name day calendar, you can see the history of Finland in a nutshell,” explains Minna Saarelma-Paukkala, head of the Almanac Office of Helsinki University, which is responsible for coordinating name days.&amp;nbsp;&lt;/p&gt;&lt;p&gt; “This custom goes back to the Middle Ages. We also have some names on the calendar from the pre-Christian era, such as Väinö; then we have Catholic names, then Swedish names and some Russian names. Following this we have the Finnish names from the time of our national awakening, and then all kinds of newer names related to recent international influences.”&lt;/p&gt;&lt;h2&gt; Checking the calendar&lt;/h2&gt; &lt;div class=\"kuvitus1\"&gt; &lt;div class=\"kuvituscopyright\"&gt; Photo: Sabrina Salzano &lt;/div&gt; &lt;div class=\"kuvituskuva\"&gt; &lt;a href=\"/public/download.aspx?ID=132886&amp;amp;GUID={2396DD44-8001-45A7-8A75-D64DE3DCDF5A}\" rel=\"lightbox\" title=\"Nowadays name days are often celebrated with pastries, like this football-themed cake for Ronja\"&gt;&lt;img alt=\"Name Day\" class=\"kuva1\" src=\"/public/download.aspx?ID=132886&amp;amp;GUID={2396DD44-8001-45A7-8A75-D64DE3DCDF5A}&amp;amp;maxwidth=215&amp;amp;maxheight=500\" title=\"Name Day\" /&gt;&lt;/a&gt; &lt;/div&gt; &lt;div class=\"kuvateksti\"&gt; Nowadays name days are often celebrated with pastries, like this football-themed cake for Ronja &lt;/div&gt; &lt;/div&gt;&lt;p&gt; As the importance of name days changed over the centuries, so did the various traditions associated with it. Finns no longer put a name day tree on the table in the hope of having presents placed under it, nor do they raise a decorated pole in the backyard, yet the tradition still holds special significance for many people.&lt;/p&gt;&lt;p&gt; “Nowadays, it’s mainly coffee-and-cake celebrations,” Saarelma-Paukkala says. “It is good because some people don’t want to celebrate their birthdays, as growing old is not always so nice for everybody. But they can always celebrate their name day.”&amp;nbsp;&lt;/p&gt;&lt;p&gt; The Finnish name day calendar presently contains 834 names; the list is updated every fifth year. The main criterion for inclusion is quantity – at least 500 children must have the name.&amp;nbsp;&lt;/p&gt;&lt;p&gt; The list for 2015 contains a number of new names, yet none are being removed from the calendar. Due to fluctuating popularity over the years, Saarelma-Paukkala explains, many names will eventually return to favour. In addition, certain evergreen names, such as Matti, Juhani, Anna and Maria, continue to enjoy popularity among parents.&lt;/p&gt;&lt;h2&gt; All kinds of name days&lt;/h2&gt; &lt;div class=\"kuvitus1\"&gt; &lt;div class=\"kuvituscopyright\"&gt; Photo: Sabrina Salzano &lt;/div&gt; &lt;div class=\"kuvituskuva\"&gt; &lt;a href=\"/public/download.aspx?ID=132888&amp;amp;GUID={448FEFAD-9D59-4F80-87B2-DA3C7D378EFC}\" rel=\"lightbox\" title=\"With these towel holders, everyone with a Finnish name can be a star.\"&gt;&lt;img alt=\"Name Day\" class=\"kuva1\" src=\"/public/download.aspx?ID=132888&amp;amp;GUID={448FEFAD-9D59-4F80-87B2-DA3C7D378EFC}&amp;amp;maxwidth=215&amp;amp;maxheight=500\" title=\"Name Day\" /&gt;&lt;/a&gt; &lt;/div&gt; &lt;div class=\"kuvateksti\"&gt; With these towel holders, everyone with a Finnish name can be a star. &lt;/div&gt; &lt;/div&gt;&lt;p&gt; While some Finns have up to three names, Emma and Onni [the latter means “happiness”] topped the list of first names given to children born in Finland in 2013.&lt;/p&gt;&lt;p&gt; Meanwhile, the most popular first names among Swedish-speaking Finns that year were Ellen and Emil. (Finland is officially bilingual and 5.5 percent of the population considers Swedish its mother tongue.) In fact, Finland-Swedes also have a name day calendar of their own for celebrating Swedish-language names.&lt;/p&gt;&lt;p&gt; “Fifty registered Swedish speakers have to share the same name before it is considered for the name day calendar,” explains Leila Mattfolk, who is responsible for the Swedish name day calendar. “They have to be born 1965 or later, which also applies to the Finnish speakers.”&amp;nbsp;&lt;/p&gt;&lt;p&gt; Finland’s indigenous Sámi people also have their own name day calendar. Furthermore, an Orthodox name day calendar recognises the days of saints that are observed by the 1 percent of the population that is Orthodox Christian.&lt;/p&gt;&lt;p&gt; Finnish name day celebrations don’t end there: “We Finns also have official name day calendars for cats and dogs,” Mattfolk says. “You can buy them in pet stores. They exist for horses as well.”&lt;/p&gt;&lt;p class=\"ingress\"&gt;&lt;/p&gt; &lt;table border=\"1\" cellpadding=\"6\" cellspacing=\"10\" style=\"width: 510px\"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;p class=\"ingress\"&gt;&lt;strong&gt;Nameless for two months&lt;/strong&gt;&lt;/p&gt;&lt;p&gt; Did you know that Finnish children usually spend the first two months of their lives without an official name? Parents have two months to register their child’s name in the Population Information System, so many choose to wait until well after the child is born before settling on a moniker that fits the new addition to the family. Minna Saarelma-Paukkala of the Almanac Office of Helsinki University points out that this tradition may have to do with people in an earlier era living in isolated parts of the forest and needing sufficient time to make the long trek into town where the child could be christened.&lt;/p&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;p&gt; Source&amp;nbsp;&lt;a href=\"http://finland.fi/Public/default.aspx?contentid=308304&amp;amp;nodeid=41800&amp;amp;culture=en-US\" target=\"_blank\"&gt;thisisFINLAND&lt;/a&gt;.&amp;nbsp; See also:&lt;/p&gt;&lt;p&gt;&lt;a href=\"http://finland.fi/Public/default.aspx?contentid=224450&amp;amp;nodeid=41802&amp;amp;culture=en-US\"&gt;&lt;u&gt;&lt;font color=\"#0066cc\"&gt;Surname stories: Land of the -nens&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&lt;br&gt;&lt;a href=\"http://finland.fi/Public/default.aspx?contentid=163001&amp;amp;nodeid=41802&amp;amp;culture=en-US\"&gt;&lt;u&gt;&lt;font color=\"#0066cc\"&gt;Aimo Sori, what’s your name?&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&lt;br&gt;&lt;a href=\"http://finland.fi/Public/default.aspx?contentid=204827&amp;amp;nodeid=41802&amp;amp;culture=en-US\"&gt;&lt;u&gt;&lt;font color=\"#0066cc\"&gt;How to be Finnish in Swedish&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&lt;br&gt;&lt;a href=\"http://finland.fi/Public/default.aspx?contentid=226115&amp;amp;nodeid=41802&amp;amp;culture=en-US\"&gt;&lt;u&gt;&lt;font color=\"#0066cc\"&gt;Guardians of the Finnish language&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&lt;/br&gt;&lt;/br&gt;&lt;/br&gt;&lt;/p&gt;&lt;p class=\"ingress\"&gt;&lt;/p&gt;&lt;p class=\"ingress\"&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;!--http://www.finland.hr/public/default.aspx?contentid=309350&amp;currentnodeid=38942--&gt;\n  </dynamic-content> \n </dynamic-element> \n</root>, DDMStructureKey=MIGRATION-WEB-CONTENT, DDMTemplateKey=MIGRATION-WEB-CONTENT, layoutUuid=, displayDate=Wed Jul 09 11:45:00 EEST 2014, expirationDate=null, reviewDate=null, indexable=true, smallImage=false, smallImageId=4682439, smallImageURL=, lastPublishDate=null, status=0, statusByUserId=47315, statusByUserName=Ambientia Migration, statusDate=Mon Jan 21 20:04:09 EET 2019}"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign docXML = saxReaderUtil.read(j...  [in template "20116#20152#1786919" at line 103, column 9]
----
1<#assign imagesPath = themeDisplay.getPathThemeImages()> 
2<#assign dateFormat = "d.M.yyyy" /> 
3<#assign timeFormat = "H.mm" /> 
4 
5<#assign curAssetId = request.getParameter("curAsset")! /> 
6<#if !curAssetId?has_content> 
7    <#assign curAssetId = "0" /> 
8</#if> 
9 
10<#assign layoutService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") /> 
11<#assign AssetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")> 
12<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
13<#assign DDMStructureLocalService = serviceLocator.findService("com.liferay.dynamic.data.mapping.service.DDMStructureLocalService")> 
14<#assign orderUtil = staticUtil["com.liferay.portal.kernel.util.OrderByComparatorFactoryUtil"] /> 
15<#assign AssetVocabularyService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 
16 
17<#if portletPreferences.portletSetupLinkToLayoutUuid?has_content> 
18    <#assign linkAppUrls = portletPreferences.portletSetupLinkToLayoutUuid[0] /> 
19    <#assign targetLayout = layoutService.fetchLayoutByUuidAndGroupId(linkAppUrls, themeDisplay.getScopeGroupId(), false) /> 
20    <#assign targetAssetPublisher = targetLayout.getTypeSettingsProperties().getProperty("default-asset-publisher-portlet-id") /> 
21    <#assign targetInstance = targetAssetPublisher?keep_after_last("_") /> 
22</#if> 
23 
24<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
25 
26<#-- Portlet preferences - Category ids --> 
27<#assign filteredCategoryIds = portletPreferences['queryValues0'] /> 
28<#assign AssetCategoryService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryService") /> 
29 
30<#-- Portlet custom title --> 
31<#assign portlet_display = portletDisplay> 
32<#assign portlet_title = htmlUtil.escape(portlet_display.getTitle())> 
33<#assign portlet_setup = portlet_display.getPortletSetup()> 
34<#assign portlet_show_title = portlet_setup.getValue("portletSetupUseCustomTitle","Boolean")> 
35 
36<#if portlet_show_title == "true"> 
37    <h1>${portlet_title}</h1> 
38</#if> 
39 
40<div class="current-issues"> 
41    <#-- 
42    <#if portlet_show_title == 'true'> 
43        <h2>${portlet_title}</h2> 
44    </#if> 
45    --> 
46     
47    <div class="span-row"> 
48        <#if filteredCategoryIds?has_content> 
49            <#if locale == "fi_FI"> 
50                <#assign displayAllTranslation = "Kaikki" /> 
51            <#elseif locale == "sv_SE"> 
52                <#assign displayAllTranslation = "Allt" /> 
53            <#else> 
54                <#assign displayAllTranslation = "All" /> 
55            </#if> 
56             
57            <ul class="tabs filters"> 
58                <#assign currentUrl = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent() /> 
59                <#if currentURL?keep_after_last("categoryId=") == ''> 
60                    <#assign firstTabActive = ' active' /> 
61                    <#assign ariaCurrent = "aria-current='true'" /> 
62                <#else> 
63                    <#assign firstTabActive = '' /> 
64                    <#assign ariaCurrent = "" /> 
65                </#if> 
66                <li class="tab filter__item${firstTabActive}"><a href="${currentUrl?keep_before("?")}" ${ariaCurrent}>${displayAllTranslation}</a></li> 
67                 
68                <#list filteredCategoryIds as value> 
69                    <#assign cat = AssetCategoryService.getCategory(value?number) /> 
70                    <#assign categoryURL = renderResponse.createRenderURL() /> 
71                     
72                    ${categoryURL.setParameter("resetCur", "true")} 
73                    ${categoryURL.setParameter("categoryId", value?string)} 
74                     
75                    <#if currentURL?keep_after_last("categoryId=") == value > 
76                        <#assign active = ' active' /> 
77                        <#assign ariaCurrent = "aria-current='true'" /> 
78                    <#else> 
79                        <#assign active = '' /> 
80                        <#assign ariaCurrent = "" /> 
81                    </#if> 
82                     
83                    <li class="tab filter__item${active}"><a href="${categoryURL}" ${ariaCurrent}>${cat.getTitle(locale)}</a></li> 
84                </#list> 
85            </ul> 
86        </#if> 
87        <br> 
88    </div> 
89 
90<#if entries?has_content> 
91 
92    <#list entries as entry> 
93 
94        <#if entry.assetRenderer??> 
95 
96        <#assign assetRenderer = entry.getAssetRenderer() /> 
97        <#assign journalArticle = assetRenderer.getArticle() /> 
98        <#assign viewUrl = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry) /> 
99        <#assign displayDate = dateUtil.getDate(journalArticle.displayDate, dateFormat, local) /> 
100 
101        <#assign stId = journalArticle.getDDMStructure().getStructureId() /> 
102 
103        <#assign docXML = saxReaderUtil.read(journalArticle.getContentByLocale(locale)) /> 
104        <#assign headline = docXML.valueOf("//dynamic-element[@name='Title']/dynamic-content/text()") /> 
105        <#assign content = docXML.valueOf("//dynamic-element[@name='Content']/dynamic-content/text()") /> 
106        <#-- 
107        <#assign categories = entry.getCategories()> 
108        --> 
109        <#assign categories = assetCategoryLocalService.getEntryCategories(entry.entryId) /> 
110         
111        <#assign entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) /> 
112        <#assign description = journalArticle.getDescription(locale) /> 
113         
114        <#if targetInstance?has_content> 
115                                    <#assign viewUrl = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry)?keep_before("?") /> 
116        </#if> 
117         
118 
119            <div class="item span-row"> 
120 
121                <div class="span-3"> 
122                    <span class="date">${displayDate}</span> 
123                </div> 
124                 
125                <div class="span-9"> 
126                    <a href="${viewUrl}"> 
127                        <h3 class="h4 title">${entryTitle}</h3> 
128                        <div class="content"> 
129                            ${description} 
130                        </div> 
131                    </a> 
132                     
133                    <div class="meta"> 
134                        <span class="category"> 
135                            <#list categories as category> 
136                                 
137                                <#-- // print only those categories  
138                                     // that are selected as a filters  
139                                     // in asset publisher's settings page --> 
140                                 
141                                <#if filteredCategoryIds?has_content> 
142                                 
143                                    <#list filteredCategoryIds as value> 
144                                        <#if value == category.getCategoryId()?c> 
145                                            <#assign categoryURL = renderResponse.createRenderURL() /> 
146                                             
147                                            ${categoryURL.setParameter("resetCur", "true")} 
148                                            ${categoryURL.setParameter("categoryId", category.getCategoryId()?string)} 
149                                            
150                                            <a href="${categoryURL}">${category.getTitle(locale)}</a> 
151                                            <#if (category_has_next)><span class="pipe"> | </span></#if> 
152                                             
153                                        </#if> 
154                                    </#list> 
155                                <#else> 
156                                    <#assign categoryURL = renderResponse.createRenderURL() /> 
157                                    ${categoryURL.setParameter("resetCur", "true")} 
158                                    ${categoryURL.setParameter("categoryId", category.getCategoryId()?string)} 
159                                     
160                                    <a href="${categoryURL}">${category.getTitle(locale)}</a> 
161                                    <#if (category_has_next)><span class="pipe"> | </span></#if> 
162                                </#if> 
163                                 
164                            </#list> 
165                        </span> 
166                    </div> 
167                     
168                </div> 
169                 
170            </div> 
171        </#if> 
172    </#list> 
173 
174    <div class="clear"></div> 
175    </div> 
176</#if> 
— 10 Items per Page
Showing 91 - 100 of 464 results.