An error occurred while processing the template.
Expression actionbuttonurl is undefined on line 97, column 69 in 10155#10195#53189292.
1<#assign stringService=utilLocator.findUtil("hioabeanlocator-hook", "no.hioa.liferay.nap.hioabeanlocator.HioaStringService")/> 
2<#assign pageService=utilLocator.findUtil("hioabeanlocator-hook", "no.hioa.liferay.nap.hioabeanlocator.HioaPageService")/> 
3 
4<#assign breadCrumbService=utilLocator.findUtil("hioabeanlocator-hook", "no.hioa.liferay.nap.hioabeanlocator.BreadCrumbService")/> 
5<#if (request['attributes'])??> 
6    <#assign navmodule = breadCrumbService.hasNavModule(request['attributes']['LAYOUT'], request['theme-display']['plid'], siteGroupId, companyId)> 
7<#else> 
8    <#assign navmodule = false> 
9</#if> 
10<#if (request['theme-display'])??> 
11    <#assign breadcrumbs = breadCrumbService.getBreadCrumbs(request['theme-display']['plid'], locale, false)> 
12</#if> 
13 
14<#assign DDLRecordLocalService = serviceLocator.findService("com.liferay.portlet.dynamicdatalists.service.DDLRecordLocalService")> 
15<#assign GroupLocalService = serviceLocator.findService("com.liferay.portal.service.GroupLocalService")> 
16<#assign group = GroupLocalService.getGroup(groupId)> 
17<#assign expandoBridge = group.getExpandoBridge()> 
18<#assign actionButtonDefinitionTableId = expandoBridge.getAttribute("actionbuttonid")> 
19<#assign actionButtonDefinitions = DDLRecordLocalService.getRecords(actionButtonDefinitionTableId)> 
20 
21<#assign displaydate = .vars['reserved-article-display-date'].data> 
22<#assign modifydate = .vars['reserved-article-modified-date'].data> 
23<#assign orgloc = locale> 
24<#assign originalLocale = .locale> 
25<#setting locale = localeUtil.getDefault()> 
26<#assign displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
27<#assign modifydate = modifydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
28<#assign locale = originalLocale> 
29 
30<#assign headerStart="<h1"/> 
31<#assign headerEnd="</h1>"/> 
32<#if request['theme-display']?? && pageService.hasNavigationContent(request['theme-display']['plid'], siteGroupId)> 
33    <#assign headerStart="<h2"/> 
34    <#assign headerEnd="</h2>"/> 
35</#if> 
36 
37<#macro l key> 
38${languageUtil.get(orgloc, key)} 
39</#macro> 
40 
41<#-- Main content --> 
42<main class="main row-fluid" role="main"> 
43 
44<#-- Article --> 
45    <article class="article article-static" role="article"> 
46        <div class="article-header"> 
47         
48        <#if !navmodule> 
49            <#if breadcrumbs??> 
50                <nav class="breadcrumbs"> 
51                    <ol class="clearfix"> 
52                        <#list breadcrumbs as breadcrumb> 
53                            <li><a href="${breadcrumb.URL}" title="${breadcrumb.title}">${breadcrumb.title}</a></li> 
54                        </#list> 
55                    </ol> 
56                </nav> 
57            </#if> 
58        </#if> 
59        <#-- Title --> 
60            ${headerStart} title="${.vars['reserved-article-title'].data}" class="article-title"> 
61            ${.vars['reserved-article-title'].data} 
62            ${headerEnd} 
63        <#-- Lead --> 
64            <div class="article-lead lead clearfix"> 
65                <strong> 
66                ${ingress.getData()} 
67                </strong> 
68            </div> 
69        </div> 
70    <#-- Body pt1 --> 
71    <#if (body1.getData()) == "" > 
72    <#elseif (body1.getData()) == "" > 
73    <#else> 
74        <div class="article-body clearfix"> 
75        ${body1.getData()} 
76        </div> 
77    </#if> 
78    <#-- Shortcuts --> 
79    <#if actionbuttonalttext?? && actionbuttonalttext.getSiblings()?has_content> 
80        <#if (actionbuttonalttext.getSiblings()[0].getData()?length > 0)> 
81            <ul class="article-btn-group clearfix row-fluid"> 
82                <#list actionbuttonalttext.getSiblings() as cur_actionbuttonalttext> 
83                    <#assign the_other_id>${cur_actionbuttonalttext.getChild("actionbutton").getData()?replace('[\"\\[\\]]','','r')}</#assign> 
84					<#assign ifSingle> 
85						<#if (actionbuttonalttext.getSiblings()?size == 1)> 
86								article-single 
87						</#if> 
88					</#assign> 
89                    <#list actionButtonDefinitions as def> 
90                        <#assign the_id>${def.getFieldValue("id")}</#assign> 
91                        <#if the_id == the_other_id> 
92                            <#assign actionbuttonurl = def.getFieldValue("url")> 
93                        </#if> 
94                    </#list> 
95                    <li class="article-btn span6 ${ifSingle}"> 
96						<div class="article-bordered"> 
97							<img src="${actionbuttonurl}" alt="${the_other_id}" /> 
98							<p> 
99							${stringService.stripLinks(cur_actionbuttonalttext.getData())} 
100							</p> 
101						</div> 
102                    </li> 
103                </#list> 
104            </ul> 
105        </#if> 
106    </#if> 
107    <#-- Button --> 
108    <#if calltoactiontext?has_content> 
109        <#if (calltoactiontext.getData()?length > 0)> 
110        <#if calltoactiontext.getChild("calltoactiontype")??> 
111            <#assign calltoactiontype>${calltoactiontext.getChild("calltoactiontype").getData()?replace('[\"\\[\\]]','','r')}</#assign> 
112            <div class="row-fluid"> 
113            <div class="btn-wrapper cta-btn-wrapper-bord"> 
114                <a href="${calltoactiontext.getChild('calltoactionlink').getData()}" class="btn article-btn2 btn-large btn-primary span6 offset3 clearfix" title="${calltoactiontext.getData()}" role="button"> 
115                    <span class="icon-hioa-${calltoactiontype}"></span> ${calltoactiontext.getData()} 
116                </a> 
117            </div> 
118            </div> 
119            </#if> 
120        </#if> 
121    </#if> 
122    <#-- Body pt2 --> 
123    <#if body2.getData()?has_content> 
124        <div class="article-body clearfix"> 
125            <div class="row-fluid"> 
126                <#if body3.getData()?has_content> 
127                    <div class="span6"> 
128                    ${body2.getData()} 
129                    </div> 
130                    <div class="span6"> 
131                    ${body3.getData()} 
132                    </div> 
133                <#else> 
134                ${body2.getData()} 
135                </#if> 
136            </div> 
137        </div> 
138    </#if> 
139    <#-- Article meta --> 
140        <div class="article-body clearfix"> 
141            <div class="article-meta row-fluid clearfix"> 
142                <div class="span4"><@l "template.statisk.artikkel.published"/> <time datetime="${displaydate?string["yyyy-MM-dd"]}">${displaydate?string["dd.MM.yyyy"]}</time></div> 
143                <div class="span4"><@l "template.statisk.artikkel.last.update"/> <time datetime="${modifydate?string["yyyy-MM-dd"]}">${modifydate?string["dd.MM.yyyy"]}</time></div> 
144            </div> 
145        </div> 
146    </article> 
147</main> 

Contact IT helpdesk

Network problems?