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	    <h3 class="bcap-journal-basic-content__introduction"> 
18				${introduction.getData()} 
19		</h3> 
20	</#if> 
21 
22    <p> 
23    	<img alt="" class="bcap-journal-basic-content__image" 
24    		 src="${introduction.getChild('image-media').getData()}"/> 
25    </p>	 
26	 
27	<main class="bcap-journal-basic-content__main"> 
28		${content.getData()} 
29	</main> 
30</div> 
31 
32<#--  
33© 2015 Comarch  
34 
35<#assign documentMediaService = utilLocator.findUtil("comarch-portal-portlet", "com.comarch.portal.service.DocumentMediaService") /> 
36<#assign JournalArticleLocalService = staticUtil["com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil"] /> 
37<#assign journalArticle = JournalArticleLocalService.fetchArticle(groupId, .vars['reserved-article-id'].data) /> 
38 
39<#assign documentMedia = documentMediaService.getDocumentImage(journalArticle, 'IMAGE_MEDIUM', themeDisplay) />  
40<#assign imgThumbURL = documentMedia.getImageURL() /> 
41<#assign alternativeText = documentMedia.getAlternativeText() /> 
42 
43<div class="bcap-journal-basic-content"> 
44	<#if introduction.getChild('include-in-main-content').getData() == "true"> 
45	    <h3 class="bcap-journal-basic-content__introduction"> 
46				${introduction.getData()} 
47		</h3> 
48	</#if> 
49 
50	<p> 
51		<img class="bcap-journal-basic-content__image" 
52			 src="${imgThumbURL}" alt="" /> 
53    </p> 
54	 
55	<main class="bcap-journal-basic-content__main"> 
56		${content.getData()} 
57	</main> 
58</div> 
59--> 

Pytania i odpowiedzi

Sprawdź o czym musisz pamiętać przed powrotem

 
Wystąpił błąd podczas przetwarzania szablonu.
Error on line 1, column 1 in 20157#20197#2221852
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 JournalArticleLocalService = staticUtil["com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil"] /> 
3<#assign journalArticle = JournalArticleLocalService.fetchArticle(groupId, .vars['reserved-article-id'].data) /> 
4 
5<#assign documentMedia = documentMediaService.getDocumentImage(journalArticle, 'IMAGE_MEDIUM', themeDisplay) />  
6<#assign imgThumbURL = documentMedia.getImageURL() /> 
7<#assign alternativeText = documentMedia.getAlternativeText() /> 
8 
9<div class="sg_sekcja_left"> 
10    <div class="sekcja_content">  
11        ${content.getData()} 
12	</div> 
13	<div class="sekcja_back" style="background-image: url(${imgThumbURL})"> 
14	</div> 
15</div> 
Wystąpił błąd podczas przetwarzania szablonu.
Error on line 1, column 1 in 20157#20197#2224768
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 JournalArticleLocalService = staticUtil["com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil"] /> 
3<#assign journalArticle = JournalArticleLocalService.fetchArticle(groupId, .vars['reserved-article-id'].data) /> 
4 
5<#assign documentMedia = documentMediaService.getDocumentImage(journalArticle, 'IMAGE_MEDIUM', themeDisplay) />  
6<#assign imgThumbURL = documentMedia.getImageURL() /> 
7<#assign alternativeText = documentMedia.getAlternativeText() /> 
8 
9<div class="sg_sekcja_right"> 
10	<div class="sekcja_back" style="background-image: url(${imgThumbURL})"> 
11	</div> 
12    <div class="sekcja_content">  
13        ${content.getData()} 
14	</div> 
15</div> 
Wystąpił błąd podczas przetwarzania szablonu.
Error on line 1, column 1 in 20157#20197#2221852
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 JournalArticleLocalService = staticUtil["com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil"] /> 
3<#assign journalArticle = JournalArticleLocalService.fetchArticle(groupId, .vars['reserved-article-id'].data) /> 
4 
5<#assign documentMedia = documentMediaService.getDocumentImage(journalArticle, 'IMAGE_MEDIUM', themeDisplay) />  
6<#assign imgThumbURL = documentMedia.getImageURL() /> 
7<#assign alternativeText = documentMedia.getAlternativeText() /> 
8 
9<div class="sg_sekcja_left"> 
10    <div class="sekcja_content">  
11        ${content.getData()} 
12	</div> 
13	<div class="sekcja_back" style="background-image: url(${imgThumbURL})"> 
14	</div> 
15</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	    <h3 class="bcap-journal-basic-content__introduction"> 
18				${introduction.getData()} 
19		</h3> 
20	</#if> 
21 
22    <p> 
23    	<img alt="" class="bcap-journal-basic-content__image" 
24    		 src="${introduction.getChild('image-media').getData()}"/> 
25    </p>	 
26	 
27	<main class="bcap-journal-basic-content__main"> 
28		${content.getData()} 
29	</main> 
30</div> 
31 
32<#--  
33© 2015 Comarch  
34 
35<#assign documentMediaService = utilLocator.findUtil("comarch-portal-portlet", "com.comarch.portal.service.DocumentMediaService") /> 
36<#assign JournalArticleLocalService = staticUtil["com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil"] /> 
37<#assign journalArticle = JournalArticleLocalService.fetchArticle(groupId, .vars['reserved-article-id'].data) /> 
38 
39<#assign documentMedia = documentMediaService.getDocumentImage(journalArticle, 'IMAGE_MEDIUM', themeDisplay) />  
40<#assign imgThumbURL = documentMedia.getImageURL() /> 
41<#assign alternativeText = documentMedia.getAlternativeText() /> 
42 
43<div class="bcap-journal-basic-content"> 
44	<#if introduction.getChild('include-in-main-content').getData() == "true"> 
45	    <h3 class="bcap-journal-basic-content__introduction"> 
46				${introduction.getData()} 
47		</h3> 
48	</#if> 
49 
50	<p> 
51		<img class="bcap-journal-basic-content__image" 
52			 src="${imgThumbURL}" alt="" /> 
53    </p> 
54	 
55	<main class="bcap-journal-basic-content__main"> 
56		${content.getData()} 
57	</main> 
58</div> 
59--> 
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	    <h3 class="bcap-journal-basic-content__introduction"> 
18				${introduction.getData()} 
19		</h3> 
20	</#if> 
21 
22    <p> 
23    	<img alt="" class="bcap-journal-basic-content__image" 
24    		 src="${introduction.getChild('image-media').getData()}"/> 
25    </p>	 
26	 
27	<main class="bcap-journal-basic-content__main"> 
28		${content.getData()} 
29	</main> 
30</div> 
31 
32<#--  
33© 2015 Comarch  
34 
35<#assign documentMediaService = utilLocator.findUtil("comarch-portal-portlet", "com.comarch.portal.service.DocumentMediaService") /> 
36<#assign JournalArticleLocalService = staticUtil["com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil"] /> 
37<#assign journalArticle = JournalArticleLocalService.fetchArticle(groupId, .vars['reserved-article-id'].data) /> 
38 
39<#assign documentMedia = documentMediaService.getDocumentImage(journalArticle, 'IMAGE_MEDIUM', themeDisplay) />  
40<#assign imgThumbURL = documentMedia.getImageURL() /> 
41<#assign alternativeText = documentMedia.getAlternativeText() /> 
42 
43<div class="bcap-journal-basic-content"> 
44	<#if introduction.getChild('include-in-main-content').getData() == "true"> 
45	    <h3 class="bcap-journal-basic-content__introduction"> 
46				${introduction.getData()} 
47		</h3> 
48	</#if> 
49 
50	<p> 
51		<img class="bcap-journal-basic-content__image" 
52			 src="${imgThumbURL}" alt="" /> 
53    </p> 
54	 
55	<main class="bcap-journal-basic-content__main"> 
56		${content.getData()} 
57	</main> 
58</div> 
59--> 
Wystąpił błąd podczas przetwarzania szablonu.
Error on line 2, column 1 in 20157#20197#2221964
utilLocator.findUtil("comarch-portal-portlet", "com.comarch.portal.service.DocumentMediaService") is undefined.
It cannot be assigned to documentMediaService
1<div class="pod-sliderem"> 
2<#assign documentMediaService = utilLocator.findUtil("comarch-portal-portlet", "com.comarch.portal.service.DocumentMediaService") /> 
3<div class="grid-window cztery4"> 
4<div class="grid-content grid-content-a"  style="left: 0;"> 
5<#if entries?has_content> 
6	<#list entries as curEntry> 
7 
8<#assign renderer = curEntry.getAssetRenderer() > 
9<li class="art-work-box box-kwadrat"> 
10 
11    <#assign className = renderer.getClassName() > 
12    <#if className == "com.liferay.portlet.journal.model.JournalArticle"> 
13        <#assign article = renderer.getArticle() > 
14        <#assign imgThumbURL = documentMediaService.getImageUrl(article, 'IMAGE_THUMB', themeDisplay) /> 
15		<#assign link = renderer.getURLViewInContext(renderRequest, renderResponse, '') > 
16        <a href="${link}"> 
17		<#if imgThumbURL?has_content > 
18			<div class="thumb-img-box"> 
19				<img src="${imgThumbURL}"></img> 
20			</div> 
21        </#if> 
22    <div class="overtext-box overtext-box-lgreen"> 
23        <#assign date = article.getDisplayDate()?date /> 
24		<span class="grid-date article-date">${date?string["dd.MM.yyyy"]}</span> 
25    	<p class="overart"> 
26    	    ${curEntry.getTitle(locale)}</br> 
27            <span class="showhide">${curEntry.getDescription(locale)}</span> 
28        </p> 
29	</div> 
30	</#if> 
31	</a> 
32</li> 
33	 
34	</#list> 
35</#if> 
36</div> 
37</div> 
38</div> 
39<div style="clear:both;"></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	    <h3 class="bcap-journal-basic-content__introduction"> 
18				${introduction.getData()} 
19		</h3> 
20	</#if> 
21 
22    <p> 
23    	<img alt="" class="bcap-journal-basic-content__image" 
24    		 src="${introduction.getChild('image-media').getData()}"/> 
25    </p>	 
26	 
27	<main class="bcap-journal-basic-content__main"> 
28		${content.getData()} 
29	</main> 
30</div> 
31 
32<#--  
33© 2015 Comarch  
34 
35<#assign documentMediaService = utilLocator.findUtil("comarch-portal-portlet", "com.comarch.portal.service.DocumentMediaService") /> 
36<#assign JournalArticleLocalService = staticUtil["com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil"] /> 
37<#assign journalArticle = JournalArticleLocalService.fetchArticle(groupId, .vars['reserved-article-id'].data) /> 
38 
39<#assign documentMedia = documentMediaService.getDocumentImage(journalArticle, 'IMAGE_MEDIUM', themeDisplay) />  
40<#assign imgThumbURL = documentMedia.getImageURL() /> 
41<#assign alternativeText = documentMedia.getAlternativeText() /> 
42 
43<div class="bcap-journal-basic-content"> 
44	<#if introduction.getChild('include-in-main-content').getData() == "true"> 
45	    <h3 class="bcap-journal-basic-content__introduction"> 
46				${introduction.getData()} 
47		</h3> 
48	</#if> 
49 
50	<p> 
51		<img class="bcap-journal-basic-content__image" 
52			 src="${imgThumbURL}" alt="" /> 
53    </p> 
54	 
55	<main class="bcap-journal-basic-content__main"> 
56		${content.getData()} 
57	</main> 
58</div> 
59--> 
Wystąpił błąd podczas przetwarzania szablonu.
Error on line 1, column 1 in 20157#20197#2229851
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 
3<#assign originalLocale = .locale> 
4<#setting locale = localeUtil.getDefault()> 
5<#assign locale = originalLocale> 
6 
7<div class="download-high"> 
8<div class="center1200"> 
9<div id="rotate-left-down-b" class="rotate-left"> 
10<img alt="" src="/documents/31541/1273650/ArrowLeft.png"/> 
11</div> 
12<div class="grid-window"> 
13<div class="grid-content grid-content-db"  style="left: 0;"> 
14<#if entries?has_content> 
15	<#list entries as curEntry> 
16 
17<#assign renderer = curEntry.getAssetRenderer() > 
18<li class="art-work-box"> 
19 
20    <#assign className = renderer.getClassName() > 
21    <#if className == "com.liferay.portlet.journal.model.JournalArticle"> 
22        <#assign article = renderer.getArticle() > 
23        <#assign imgThumbURL = documentMediaService.getImageUrl(article, 'IMAGE_THUMB', themeDisplay) /> 
24		<#assign link = renderer.getURLViewInContext(renderRequest, renderResponse, '') > 
25        <a href="${link}"> 
26	    <div class="download-icon"> 
27			<img src="/documents/32315/2221661/YT_348x348.png"></img> 
28		</div> 
29		<#if imgThumbURL?has_content > 
30			<div class="thumb-img-box"> 
31				<img src="${imgThumbURL}"></img> 
32			</div> 
33 
34        </#if> 
35 
36        <div class="overtext-box overtext-box-blue"></div> 
37 
38	</#if> 
39	</a> 
40</li> 
41	 
42	</#list> 
43</#if> 
44<li class="art-work-box"> 
45   	<div class="thumb-img-box"> 
46				<a href="/dzial-video" title="Zobacz wszystkie pliki"><img src="/documents/32585/2025085/ZobaczWszystkie_348x348.png"></a> 
47			</div> 
48</li> 
49</div> 
50</div> 
51<div id="rotate-right-down-b" class="rotate-right"> 
52    <img alt="" src="/documents/31541/1273650/ArrowRight.png"/> 
53</div> 
54</div> 
55</div> 
56<script> 
57$(document).ready(function(){ 
58 
59var vposition = 0; 
60$("#rotate-left-down-b").click(function(){ 
61	if (vposition>0){ 
62 
63		    $(".grid-content-db").animate({ 
64			    left: '+=353px',			 
65		    }); 
66        	vposition=vposition-353; 
67 
68
69	else {}; 
70}); 
71 
72$("#rotate-right-down-b").click(function(){ 
73	     
74    if (window.innerWidth>1160) { 
75		var vmaxposition = 2430; 
76	} else if  (window.innerWidth>768 && window.innerWidth<1161) { 
77		var vmaxposition = 2780; 
78	} else if (window.innerWidth>460 && window.innerWidth<769) { 
79		var vmaxposition = 3130; 
80	} else if (window.innerWidth<461) { 
81		var vmaxposition = 2330; 
82	}; 
83 
84	if (vposition<vmaxposition){ 
85 
86		    $(".grid-content-db").animate({ 
87			    left: '-=353px',			 
88		    }); 
89        	vposition=vposition+353; 
90 
91
92	else {}; 
93}); 
94}); 
95</script> 
96<div style="clear:both;"></div>