Powrót

A Covering Letter that makes you stand out

Wystąpił błąd podczas przetwarzania szablonu.
Error on line 1, column 1 in 20157#20197#925232
utilLocator.findUtil("comarch-portal-portlet", "com.comarch.portal.service.DocumentMediaService") is undefined.
It cannot be assigned to documentMediaService
1<#assign documentMediaService = utilLocator.findUtil("comarch-portal-portlet", "com.comarch.portal.service.DocumentMediaService") /> 
2<#assign displaydate = .vars['reserved-article-display-date'].data> 
3<#assign createdate = .vars['reserved-article-create-date'].data> 
4<#assign modifieddate = .vars['reserved-article-modified-date'].data> 
5 
6<#assign originalLocale = .locale> 
7<#setting locale = localeUtil.getDefault()> 
8 
9<#assign displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
10<#assign createdate = createdate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
11<#assign modifieddate = modifieddate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
12 
13<#assign locale = originalLocale> 
14 
15 
16<div class="bcap-journal-basic-content"> 
17 
18<p style="BACKGROUND: #eeeeee; PADDING: 5px 10px;  BORDER-LEFT: #a6c731 5px solid;">This article is written according to the legal status current as of: ${modifieddate?date}<p> 
19 
20	<#if introduction.getChild('include-in-main-content').getData() == "true"> 
21	    <p> 
22			<strong class="bcap-journal-basic-content__introduction"> 
23				${introduction.getData()} 
24			</strong> 
25		</p> 
26	</#if> 
27 
28	<main class="bcap-journal-basic-content__main"> 
29		${content.getData()} 
30	</main> 
31</div> 

Wystąpił błąd podczas przetwarzania szablonu.
Error on line 1, column 1 in 20157#20197#CAP-0002
utilLocator.findUtil("comarch-portal-portlet", "com.comarch.portal.service.DocumentMediaService") is undefined.
It cannot be assigned to documentMediaService
1<#assign documentMediaService = utilLocator.findUtil("comarch-portal-portlet", "com.comarch.portal.service.DocumentMediaService") /> 
2<#assign displaydate = .vars['reserved-article-display-date'].data> 
3<#assign createdate = .vars['reserved-article-create-date'].data> 
4<#assign modifieddate = .vars['reserved-article-modified-date'].data> 
5 
6<#assign originalLocale = .locale> 
7<#setting locale = localeUtil.getDefault()> 
8 
9<#assign displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
10<#assign createdate = createdate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
11<#assign modifieddate = modifieddate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
12 
13<#assign locale = originalLocale> 
14 
15<div class="bcap-journal-basic-content"> 
16    <#if introduction.getChild('include-in-main-content').getData() == "true"> 
17	    <p> 
18			<strong class="bcap-journal-basic-content__introduction"> 
19				${introduction.getData()} 
20			</strong> 
21		</p> 
22	</#if> 
23 
24    <p> 
25    	<img alt="" class="bcap-journal-basic-content__image" 
26    		 src="${introduction.getChild('image-media').getData()}"/> 
27    </p>	 
28	 
29	<main class="bcap-journal-basic-content__main"> 
30		${content.getData()} 
31	</main> 
32</div> 
33 
34<#--  
35© 2015 Comarch  
36 
37<#assign documentMediaService = utilLocator.findUtil("comarch-portal-portlet", "com.comarch.portal.service.DocumentMediaService") /> 
38<#assign JournalArticleLocalService = staticUtil["com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil"] /> 
39<#assign journalArticle = JournalArticleLocalService.fetchArticle(groupId, .vars['reserved-article-id'].data) /> 
40 
41<#assign documentMedia = documentMediaService.getDocumentImage(journalArticle, 'IMAGE_MEDIUM', themeDisplay) />  
42<#assign imgThumbURL = documentMedia.getImageURL() /> 
43<#assign alternativeText = documentMedia.getAlternativeText() /> 
44 
45<div class="bcap-journal-basic-content"> 
46	<#if introduction.getChild('include-in-main-content').getData() == "true"> 
47	    <h3> 
48			<strong class="bcap-journal-basic-content__introduction"> 
49				${introduction.getData()} 
50			</strong> 
51		</h3> 
52	</#if> 
53 
54	<p> 
55		<img class="bcap-journal-basic-content__image" 
56			 src="${imgThumbURL}" alt="" /> 
57    </p> 
58	 
59	<main class="bcap-journal-basic-content__main"> 
60		${content.getData()} 
61	</main> 
62</div> 
63-->