Navigation Menu

Latest Tweets

Asset Publisher

Asset Publisher

2021-22

2020-21

2019-20

2018-19

2017-18

2016-17

2015-16

2014-15

2013-14

2012-13

2011-12

2010-11

An error occurred while processing the template.
The following has evaluated to null or missing:
==> entry  [in template "44029#44070#3916450" at line 6, column 23]

----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign categories = entry.getCategor...  [in template "44029#44070#3916450" at line 6, column 1]
----
1<#assign dlAppService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppService")> 
2<#assign dlService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")> 
3<#assign ddmFieldLocalService = serviceLocator.findService("com.liferay.dynamic.data.mapping.service.DDMFieldLocalService")/> 
4<div class="accordion-container bod"> 
5<h6 class="accordion-header" tabindex="0" role="link" aria-expanded="false"> 
6<#assign categories = entry.getCategories() /> 
7		<#if categories?has_content> 
8			<#list categories as category> 
9				${category.getName()} 
10				<#assign accId = category.getName()?replace('&[a-zA-Z]+;', '', 'r')?replace('[^a-zA-Z0-9. ]', '', 'r') > 
11			</#list> 
12		</#if> 
13</h6> 
14 
15<#if entries?has_content>							 
16	<div class="accordion-content"> 
17		<ul class="list-group list-group-flush oa"> 
18		<#list entries as entry> 
19			<#if entry.getClassName() == "com.liferay.journal.model.JournalArticle" >       
20				<#assign assetRenderer = entry.getAssetRenderer()/> 
21				<#assign journalArticle = assetRenderer.getAssetObject() />	 
22				<#assign ddmStructure = journalArticle.getDDMStructure() /> 
23				<#assign ddmForm = ddmStructure.getDDMForm()/> 
24				<#assign ddmFormValues = ddmFieldLocalService.getDDMFormValues(ddmForm, journalArticle.getId()) /> 
25				<#assign ddmFormFieldValues = ddmFormValues.getDDMFormFieldValues() /> 
26				<#--<#assign viewDetailURL = "/web/eng/detail?assetEntry="+entry.getEntryId()+"&assetClassPK="+entry.getClassPK() />--> 
27				<li class="list-group-item"> 
28					<#list ddmFormFieldValues as fieldName> 
29											<#if fieldName.getFieldReference() == 'Upload90001913'> 
30												<#assign jsonFactoryUtil = staticUtil["com.liferay.portal.kernel.json.JSONFactoryUtil"]> 
31												<#assign customFieldJson = jsonFactoryUtil.createJSONObject(fieldName.getValue().getString(locale)) /> 
32												<#assign fileEntryId =  getterUtil.getInteger(customFieldJson.get('fileEntryId'))> 
33												<#if fileEntryId?? && fileEntryId!=0> 
34														<#assign fileEntry = dlAppService.getFileEntry(fileEntryId) /> 
35															 
36																<#list ddmFormFieldValues as fieldName> 
37																	<#if fieldName.getFieldReference() == 'Title'> 
38																		<#assign contentTitle =fieldName.getValue().getString(locale)>  
39																		<a class="pdf-link" href=/documents/${fileEntry.getGroupId()}/${fileEntry.getFolderId()}/${fileEntry.getFileName()}/${fileEntry.getUuid()} title="${contentTitle}"> 
40																		<span class="font-bold">${contentTitle}</span> 
41																		</a> 
42																	</#if> 
43																</#list> 
44															 
45												<#else> 
46													<#assign urlImage = "#"> 
47														<#assign viewDetailURL = "/web/eng/detail?assetEntry="+entry.getEntryId()+"&assetClassPK="+entry.getClassPK() /> 
48														 
49																<#list ddmFormFieldValues as fieldName> 
50																	<#if fieldName.getFieldReference() == 'Title'> 
51																		<#assign contentTitle =fieldName.getValue().getString(locale)>  
52																		<a href="${viewDetailURL}" title="${contentTitle}"> 
53																		<span class="font-bold">${contentTitle}</span> 
54																		</a> 
55																	</#if> 
56																</#list> 
57														 
58										 
59												</#if> 
60											</#if> 
61										</#list>	 
62					<#--<p class="list-group-subtitle text-muted"> 
63					${journalArticle.displayDate?date} ${journalArticle.displayDate?time} 
64					</p>--> 
65				</li> 
66			</#if> 
67		</#list> 
68		</ul> 
69	</div> 
70</#if> 
71 
72 
73</div> 
74<style> 
75.taglib-page-iterator{display: none;} 
76</style> 
77<script> 
78function movePagination(){ 
79	$(".taglib-page-iterator").each(function(){ 
80		var taglibThis = $(this); 
81		if(taglibThis.attr('data-moved') != "moved"){ 
82			taglibThis.show(); 
83			var appendIn = taglibThis.parent().find('.accordion-content'); 
84			taglibThis.appendTo(appendIn); 
85			taglibThis.attr('data-moved', 'moved'); 
86
87	}); 
88	 
89	var accId = localStorage.getItem('accId'); 
90	var scrollpos = localStorage.getItem('scrollpos'); 
91	if (scrollpos){window.scrollTo(0, scrollpos);} 
92	if(accId){document.getElementById(accId).style.display = 'block';} 
93
94 
95 
96 
97setTimeout(movePagination, 1000) 
98 
99$('.accordion-header').click(function(){ 
100	var accId = $(this).parent().find('.accordion-content').attr('id'); 
101	localStorage.setItem('accId', accId); 
102}); 
103 
104window.onbeforeunload = function(e) { 
105	localStorage.setItem('scrollpos', window.scrollY); 
106}; 
107</script> 

2009-10

2008-09

Before 2008