Zum Inhalt springen

Arbeitgeberin - OKB

Title Portlet

Arbeitgeberin

ria-arbeitgeberin

Fehler bei der Verarbeitung der Vorlage.
The following has evaluated to null or missing:
==> cur_link.id  [in template "20101#20128#540369" at line 48, column 85]

----
Tip: It's the step after the last dot that caused this error, not those before it.
----
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: #if request.getParameter("accordion")...  [in template "20101#20128#540369" at line 48, column 41]
----
1<style> 
2    .image_accordion .collapse-icon { 
3        text-align: right !important; 
4        display: block; 
5        float: right; 
6        font-size:20px; 
7        background: white !important; 
8        padding: 0 !important; 
9        border-bottom: 0 !important; 
10
11     
12    div.image_accordion h1, div.image_accordion h2, div.image_accordion h3 { 
13		/*font-weight: 700 !important;*/ 
14
15	#wrapper .image_accordion__box__right { 
16		background: white !important; 
17		margin-top: 0px !important; 
18		margin-right: 0px !important; 
19
20	#wrapper .image_accordion__box__left, .pop-up .image_accordion__box__left, #react-modal .image_accordion__box__left { 
21		width: 256px; 
22
23	#cta-box {background-color: #F6F5F1; padding: 15px 5px 15px 15px; max-width:800px; min-width: 300px; display:inline-block; padding-right: 17px;} 
24	.cta-box-hover:hover {background-color: #BBB5A3 !important;} 
25	.cta-box-hover:hover button {background-color: #852808 !important;} 
26    div#cta-box li.vorteile a span, div#cta-box h3 a {color: black !important; line-height: 26px;} 
27 
28 
29    @media (max-width: 1049px) { 
30        #wrapper .image_accordion__box__left__collapse-content { 
31            background: white !important; 
32
33
34</style> 
35 
36 
37<#assign id = stringUtil.randomId()> 
38<div class="image_accordion"> 
39    <#if image.getData()?? && image.getData() != ""> 
40        <div id="headerrandom" class="image_accordion__image" style="background: url() no-repeat center center;"></div> 
41    </#if> 
42    <div class="image_accordion__box d-flex" id="image-accordion-${id}"> 
43        <div class="image_accordion__box__left mr-3 panel accordion"> 
44            <#if link.getSiblings()?has_content> 
45                <#list link.getSiblings() as cur_link> 
46                     
47					<!--- Ist für Direktzugriff auf Accordion, deaktiviert da Fehlerhaft 
48					<#if request.getParameter("accordion")?? && cur_link.id.getData() == request.getParameter("accordion")> 
49                        <#assign nonActiveClass = ""> 
50                        <#assign collapseClass = "collapse show"> 
51                        <#assign ariaExpanded = "true"> 
52                    <#elseif !request.getParameter("accordion")?? && cur_link?index == 0> 
53                        <#assign nonActiveClass = ""> 
54                        <#assign collapseClass = "collapse show"> 
55                        <#assign ariaExpanded = "true"> 
56                    <#else> 
57                        <#assign nonActiveClass = "collapsed"> 
58                        <#assign collapseClass = "collapse"> 
59                        <#assign ariaExpanded = "false"> 
60                    </#if> 
61					---> 
62                    <div class="image_accordion__box__left__collapse-header accordion-toggle ${nonActiveClass}" 
63                         id="ia-${id}-link-collapse-${cur_link?index}" 
64                         data-toggle="collapse" 
65                         data-target="#ia-${id}-collapse-${cur_link?index}" 
66                         aria-controls="ia-${id}-collapse-${cur_link?index}" 
67                         aria-expanded="${ariaExpanded}"> 
68                        ${cur_link.getData()} 
69                    </div> 
70                    <!-- Only for mobile accordion --> 
71                    <div class="${collapseClass} mobile" 
72                         id="ia-${id}-collapse-${cur_link?index}" 
73                         aria-labelledby="ia-${id}-link-collapse-${cur_link?index}" 
74                         data-parent="#image-accordion-${id}"> 
75                        <div class="image_accordion__box__left__collapse-content"> 
76                            ${cur_link.html.getData()} 
77                        </div> 
78                    </div> 
79                </#list> 
80            </#if> 
81        </div> 
82        <div class="image_accordion__box__right flex-grow-1" aria-hidden="true"> 
83            <#if link.getSiblings()?has_content> 
84                <#list link.getSiblings() as cur_link> 
85                    <!-- determine initial state of open elements --> 
86                    <#if request.getParameter("accordion")?? && cur_link.id.getData() == request.getParameter("accordion")> 
87                       <#assign collapseClass = "collapse show"> 
88                   <#elseif !request.getParameter("accordion")?? && cur_link?index == 0> 
89                        <#assign collapseClass = "collapse show"> 
90                    <#else> 
91                        <#assign collapseClass = "collapse"> 
92                    </#if> 
93                    <div class="collapse-${cur_link?index} image_accordion__box__right__collapse-content ${collapseClass}" 
94                         id="ia-${id}-collapse-${cur_link?index}-desktop"> 
95                        ${cur_link.html.getData()} 
96                    </div> 
97                </#list> 
98            </#if> 
99        </div> 
100    </div> 
101    <script> 
102        // we show/hide desktop items manually as we do not want to keep one open at any time 
103        $('.image_accordion__box__left__collapse-header').click(function(e) { 
104            const targetSelector = `${r"${$(this).attr('data-target')}-desktop"}`; 
105 
106            const headerItems = $('.image_accordion__box__left__collapse-header'); 
107            const desktopContentItems = $('.image_accordion__box__right__collapse-content'); 
108 
109            const headerToActivate = $(this); 
110            const headersToDeactivate = headerItems.not(headerToActivate); 
111 
112            headerToActivate.addClass('image_accordion__box__left__collapse-header--desktop-active'); 
113            headersToDeactivate.removeClass('image_accordion__box__left__collapse-header--desktop-active'); 
114 
115            const itemsToClose = desktopContentItems.not(targetSelector); 
116            const itemToOpen = desktopContentItems.filter(targetSelector); 
117 
118            itemToOpen.addClass('show'); 
119            itemsToClose.removeClass('show'); 
120			 
121         //css background img setzen mit zufallsbild bei jedem klick 
122         //randomImage(); 
123		 }) 
124		  
125		  
126         
127        var randomImage = function() { 
128			//Random Bild Team TSL 
129			//Anzahl Bilder 
130			 var imagenumber = ${image.getSiblings()?size} ; 
131			 var randomnumber = Math.random() ; 
132			 var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1 ; 
133			 images = new Array; 
134			 <#if image.getSiblings()?has_content> 
135				<#list image.getSiblings() as cur_image> 
136					<#if cur_image.getData()?? && cur_image.getData() != ""> 
137						 images[${cur_image.getAttribute("alt")}] = "${cur_image.getData()}"; 
138					</#if> 
139				</#list> 
140			</#if> 
141			 
142			//zufallsbild variable image zuweisen 
143			 var imageRia = images[rand1] 
144			  
145			 //css background img setzen mit zufallsbild 
146			 document.getElementById('headerrandom').style.background = 'url('+imageRia+')'; 
147			 document.getElementById('headerrandom').style.backgroundRepeat = 'no-repeat'; 
148             document.getElementById('headerrandom').style.backgroundPosition = 'center center'; 
149		}; 
150		 
151		//css background img setzen mit zufallsbild beim laden 
152		window.onload = randomImage(); 
153          
154          
155          
156 
157    </script> 
158</div> 

se-weitere-themen

Das könnte Sie auch interessieren

Verschachtelte Anwendungen

contenthub-lehrstellenangebot

Lernendenausbildung Mit einem vielfältigen Ausbildungsangebot investieren wir in die nächste Generation
Mehr erfahren

contenthub-quereinsteiger-jasper-hammerich

Jasper Hammerich, Privatkundenberater Von der öffentlichen Verwaltung zur Obwaldner Kantonalbank
Mehr erfahren

contenthub-3-fragen-rgi

Roland Gisler, Kundenberater Drei Fragen nach drei Monaten Obwaldner Kantonalbank
Zum Kurzinterview
Schließen Kontakt

kontakt-pop-up

Kontaktieren Sie uns

Unsere Berater sind Montag bis Freitag von 8 bis 18 Uhr für Sie da.
 

Notfall-Telefonnummern

Rufen Sie uns an

041 666 22 11


Schreiben Sie uns

Mitteilung senden


Wir nehmen uns gerne Zeit für Sie.

Termin vereinbaren


So finden Sie uns

Standorte finden