An error occurred while processing the template.
Java method "static com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(String, long)" threw an exception; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign file = fileEntry.getFileEntry...  [in template "20155#20195#32280" at line 213, column 9]
----
1<#-- 
2  ~ Copyright (c) 2020 AXA Group Operations Spain S.A. 
3
4  ~ Licensed under the AXA Group Operations Spain S.A. License (the "License"); 
5  ~ you may not use this file except in compliance with the License. 
6  ~ A copy of the License can be found in the LICENSE.TXT file distributed 
7  ~ together with this file. 
8
9  ~ Unless required by applicable law or agreed to in writing, software 
10  ~ distributed under the License is distributed on an "AS IS" BASIS, 
11  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
12  ~ See the License for the specific language governing permissions and 
13  ~ limitations under the License. 
14  --> 
15 
16<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
17<#assign scopeId = articleGroupId> 
18<#assign contentId = .vars['reserved-article-id'].data> 
19<#assign journalArticle = JournalArticleLocalService.getArticle(getterUtil.getLong(scopeId), contentId)> 
20<#assign articleUrlTitle = journalArticle.getUrlTitle()> 
21<#assign articlePrimKey = JournalArticleLocalService.getArticle(getterUtil.getLong(scopeId), contentId).resourcePrimKey> 
22<#assign insightId = "insight-${contentId}"> 
23 
24<#-- TagCommander  --> 
25<script type="text/javascript"> 
26    if (typeof tc_vars != 'undefined') { 
27        tc_vars.page_name = '/insights-article/${articleUrlTitle}'; 
28
29</script> 
30 
31<#macro init_video video_attributes video_name video_description video_duration video_thumbnail video_partnerId video_player video_nameDiv video_entry video_autoplay is_playlist> 
32    <#assign styleDiv = "" /> 
33<!-- Outer div defines maximum space the player can take --> 
34<div ${video_attributes}> 
35    <!--  inner pusher div defines aspect ratio: in this case 16:9 ~ 56.25% --> 
36    <div id="dummy" class="video-dummy"></div> 
37    <!--  the player embed target, set to take up available absolute space   --> 
38    <div id="${video_nameDiv}" class="video-player" style="${styleDiv}" itemprop="video" itemscope 
39         itemtype="http://schema.org/VideoObject"> 
40        <span itemprop="name" content="${video_name}"></span> 
41        <span itemprop="description" content="${video_description}"></span> 
42        <span itemprop="duration" content="${video_duration}"></span> 
43        <span itemprop="thumbnail" content="${video_thumbnail}"></span> 
44    </div> 
45</div> 
46</#macro> 
47 
48<#macro show_playlist video_name video_description video_duration video_thumbnail video_partnerId video_player video_entry video_autoplay> 
49    <#assign nameDiv = "kaltura_player_${.now?long}" /> 
50    <#assign nameDivList = "playListHolder_${.now?long}" /> 
51 
52<#-- Build attribute list for playlist --> 
53    <#assign video_attributes = 'class="axaim-video-playlist"' /> 
54    <#assign kaltura_url = "https://cdnapisec.kaltura.com/p/${video_partnerId}/sp/${video_partnerId}00/embedIframeJs/uiconf_id/${video_player}/partner_id/${video_partnerId}" /> 
55    <#assign video_attributes = video_attributes + " data-kaltura-url='${kaltura_url}'" />     
56    <#assign kaltura_options = '{"targetId":"${nameDiv}","clipListTargetId":"${nameDivList}","wid":"_${video_partnerId}","uiConfId":"${video_player}","autoPlay":"${video_autoplay}","kpl0Name":"${video_name}","kpl0Id":"${video_entry}","entryId":"${video_entry}"}' />   
57    <#assign video_attributes = video_attributes + " data-options='${kaltura_options}'" />  
58 
59    <@init_video video_attributes=video_attributes video_name=video_name video_description=video_description video_duration=video_duration 
60    video_thumbnail=video_thumbnail video_partnerId=video_partnerId video_player=video_player video_nameDiv=nameDiv video_entry="${video_entry}" video_autoplay="${video_autoplay}" is_playlist=true/> 
61 
62</#macro> 
63<#macro show_video video_name video_description video_duration video_thumbnail video_partnerId  video_player video_entry video_autoplay> 
64    <#assign nameDiv = "kaltura_player_${.now?long}" /> 
65 
66<#-- Build attribute list for single video --> 
67    <#assign video_attributes = 'class="axaim-video gh-video embed-responsive embed-responsive-16by9"' />    
68    <#assign kaltura_url = "https://cdnapisec.kaltura.com/p/${video_partnerId}/sp/${video_partnerId}00/embedIframeJs/uiconf_id/${video_player}/partner_id/${video_partnerId}" /> 
69    <#assign video_attributes = video_attributes + " data-kaltura-url='${kaltura_url}'" />       
70    <#assign kaltura_options = '{"targetId":"${nameDiv}","wid":"_${video_partnerId}","uiConfId":"${video_player}","entryId":"${video_entry}","autoPlay":"${video_autoplay}"}' />   
71    <#assign video_attributes = video_attributes + " data-options='${kaltura_options}'" /> 
72 
73    <@init_video video_attributes=video_attributes video_name=video_name video_description=video_description video_duration=video_duration 
74    video_thumbnail=video_thumbnail video_partnerId=video_partnerId  video_player=video_player video_nameDiv=nameDiv video_entry="${video_entry}" video_autoplay="${video_autoplay}" is_playlist=false/> 
75 
76</#macro> 
77 
78<#--TO BE REMOVED ONCE ALL THE THEME SETTINGS ARE UPDATED IN ALL SITES--> 
79<style type="text/css"> 
80    .axaim-page-title.axaim-title-main-color { 
81        display: none; 
82
83 
84    .journal-content-article .axaim-page-title.axaim-title-main-color { 
85        display: block; 
86
87</style> 
88 
89<div class="page-main-title"> 
90    <div class="container"> 
91        <h1>${journalArticle.getTitle(locale)}</h1> 
92    </div> 
93</div> 
94 
95<div id="${insightId}" class="insights-detail-old"> 
96<#if  banner?has_content && banner.getData()?has_content > 
97    <div class="axaim-insights-banner" style="background-image:url('${htmlUtil.escape(banner.getData())}')" 
98         title="${htmlUtil.escape(banner.getData())}"></div> 
99<#else> 
100    <div class="axaim-insights-banner placeholder" title="placeholder-image"></div> 
101</#if> 
102<#-- Associated documents --> 
103 
104<#assign first_literature = getterUtil.getBoolean(true) > 
105<#list literature.getSiblings() as cur_literature > 
106    <#if cur_literature?has_content && cur_literature.getData()!="" && cur_literature.type_literature?? > 
107        <#assign type_literature = cur_literature.type_literature.getData()> 
108        <#assign has_doc = type_literature == "document_library" && cur_literature.doc_literature?has_content && cur_literature.doc_literature.getData()!=""> 
109        <#assign has_ext = type_literature == "document_extern" && cur_literature.link_literature?has_content && cur_literature.link_literature.getData()!=""> 
110 
111        <#if has_doc || has_ext> 
112            <#if first_literature> 
113                <#assign first_literature = getterUtil.getBoolean(false) > 
114            <div class="axaim-insights-documentation axaim-toggled"> 
115                <div class="axaim-insights-docs-header"> 
116                    <div class="container"> 
117                        <p class="axaim-insights-docs-header-text"> 
118                            ${axaimTranslate("axaim.webcontent.news.literature.title")} 
119                            <svg class="header-main__menu__icon" version="1.1" xmlns="http://www.w3.org/2000/svg" 
120                                 width="15" height="10" viewBox="0 0 32 32"> 
121                                <path d="M16 28.067c-0.533 0-1-0.2-1.4-0.6l-14-14c-1.8-1.8 1-4.667 2.8-2.8l12.6 12.533 12.6-12.533c1.8-1.8 4.667 1 2.8 2.8l-14 14c-0.333 0.4-0.867 0.6-1.4 0.6z"></path> 
122                            </svg> 
123                        </p> 
124                    </div> 
125                </div> 
126            <div class="axaim-insights-docs-list"> 
127            <div class="container"> 
128            <ul> 
129            </#if> 
130            <#if cur_literature.alt_literature?has_content && cur_literature.alt_literature.getData()!=""> 
131                <#assign alt_literature = htmlUtil.escape(cur_literature.alt_literature.getData())> 
132            <#else> 
133                <#assign alt_literature = htmlUtil.escape(cur_literature.getData())> 
134            </#if> 
135            <li> 
136                <#if has_doc> 
137                    <a href="${cur_literature.doc_literature.getData()}" title="${alt_literature}" 
138                       target="_blank" rel="noopener noreferrer">${cur_literature.getData()}</a> 
139                <#elseif has_ext> 
140                    <a href="${htmlUtil.escape(cur_literature.link_literature.getData())}" title="${alt_literature}" 
141                       target="_blank" rel="noopener noreferrer">${cur_literature.getData()}</a> 
142                </#if> 
143            </li> 
144        </#if> 
145    </#if> 
146</#list> 
147<#if !first_literature> 
148</ul> 
149</div> 
150</div> 
151</div> 
152</#if> 
153 
154    <div class="container"> 
155    <#if  author?has_content && author.getSiblings()?has_content> 
156        <div class="axaim-insights-authors"> 
157            <#assign first_author = getterUtil.getBoolean(true)> 
158            <#list author.getSiblings() as cur_author> 
159                <#if cur_author?has_content && cur_author.getData()!=""> 
160                    <#if first_author> 
161                        <div class="axaim-insights-authors-title"> 
162                            ${axaimTranslate("axaim.webcontent.news.author") } 
163                        </div> 
164                        <#assign first_author = getterUtil.getBoolean(false)> 
165                    </#if> 
166                    <div class="axaim-insights-authors-author"> 
167                        <#if cur_author.alt_author?has_content && cur_author.alt_author.getData()!=""> 
168                            <#assign alt_author = htmlUtil.escape(cur_author.alt_author.getData())> 
169                        <#else> 
170                            <#assign alt_author = htmlUtil.escape(cur_author.getData())> 
171                        </#if> 
172                        <#if cur_author.photo_author?has_content && cur_author.photo_author.getData()!=""> 
173                            <div class="axaim-insights-authors-author-photo" 
174                                 style="background-image:url('${cur_author.photo_author.getData()}')" 
175                                 alt="${alt_author}"> 
176                            </div> 
177                        <#else> 
178                            <div class="axaim-insights-authors-author-photo-default" alt="${alt_author}"> 
179                            </div> 
180                        </#if> 
181                        <div class="axaim-insights-authors-author-detall"> 
182                            <#if cur_author.link_author?has_content && cur_author.link_author.getData()!=""> 
183                                <a href="${htmlUtil.escape(cur_author.link_author.getData())}" title="${alt_author}" 
184                                   target="_blank" rel="noopener noreferrer"> 
185                                    ${htmlUtil.escape(cur_author.getData())} 
186                                </a> 
187                            <#else> 
188                                ${htmlUtil.escape(cur_author.getData())} 
189                            </#if> 
190                        </div> 
191                    </div> 
192                </#if> 
193            </#list> 
194        </div> 
195    </#if> 
196 
197        <div class="axaim-insights-category"> 
198        ${axaimTranslate("axaim.webcontent.insights.category")} 
199        </div> 
200 
201    <#--h1 class="axaim-insights-title"> 
202        ${htmlUtil.escape(.vars['reserved-article-title'].data)} 
203    </h1--> 
204 
205    <#-- Insight PDF download Button --> 
206    <#if insight_document?has_content && insight_document.getData()?has_content> 
207    <#-- Gets the file from the URL --> 
208        <#assign parts = insight_document.getData()?split("/") /> 
209        <#assign groupId = parts[2]?number /> 
210    <#--assign uuId = parts[5]?substring(0, parts[5]?index_of("?")) /--> 
211        <#assign uuId = parts[5] /> 
212        <#assign fileEntry = staticUtil["com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil"]> 
213        <#assign file=fileEntry.getFileEntryByUuidAndGroupId(uuId,groupId) > 
214 
215    <#-- Gets the filesize and converts it to a readable format --> 
216        <#assign order = file.getSize()?round?c?length /> 
217        <#assign thousands = ((order - 1) / 3)?floor /> 
218        <#if (thousands < 0)><#assign thousands = 0 /></#if> 
219        <#assign siMap = [ {"factor": 1, "unit": ""}, {"factor": 1024, "unit": "KB"}, {"factor": 1048576, "unit": "MB"}, {"factor": 1073741824, "unit":"GB"}, {"factor": 1099511627776, "unit": "TB"} ]/> 
220        <#assign sizeStr = (file.getSize() / (siMap[thousands].factor))?string("0.#")?replace(",", ".") + siMap[thousands].unit /> 
221 
222        <a href="${insight_document.getData()}" target="_blank" class="button custom-icon grey"> 
223            <span>PDF ${sizeStr}</span> 
224            <span class="icon"> 
225                <svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" style="enable-background:new 0 0 20 20;" xml:space="preserve"> 
226                    <g id="Symbols"> 
227                        <g id="axa_icon_download"> 
228                            <g id="Line"> 
229                                <path d="M10,12.5c-0.6,0-1-0.4-1-1V4c0-0.6,0.4-1,1-1s1,0.4,1,1v7.5C11,12.1,10.6,12.5,10,12.5z"></path> 
230                            </g> 
231                            <g id="Line_1_"> 
232                                <path d="M10,13.6l-4.1-3.3c-0.4-0.3-0.5-1-0.2-1.4s1-0.5,1.4-0.2L10,11l2.9-2.3c0.4-0.3,1.1-0.3,1.4,0.2c0.3,0.4,0.3,1.1-0.2,1.4 L10,13.6z"></path> 
233                            </g> 
234                            <g id="Rectangle-10"> 
235                                <path d="M18,18H2v-4c0-0.6,0.4-1,1-1s1,0.4,1,1v2h12v-2c0-0.6,0.4-1,1-1s1,0.4,1,1V18z"></path> 
236                            </g> 
237                        </g> 
238                    </g> 
239                </svg> 
240            </span> 
241        </a> 
242    </#if> 
243 
244        <div class="axaim-insights-date"> 
245            <#if date?has_content && date.data?has_content> 
246                <#assign date_obj = dateUtil.parseDate("yyyy-MM-dd",date.data,locale)> 
247                <#setting locale=locale> 
248                ${date_obj?date?string.long} 
249            </#if> 
250        </div> 
251 
252        <div class="axaim-insights-content"> 
253        ${content.getData()} 
254        </div> 
255 
256    <#if video?has_content && video.getSiblings()?has_content> 
257        <div class="axaim-insights-video"> 
258            <#assign first_video = getterUtil.getBoolean(true)> 
259                <#list video.getSiblings() as cur_video> 
260                    <#if cur_video?has_content && cur_video.video_type?has_content && cur_video.getData()!="" && 
261                    cur_video.description?has_content && cur_video.description.getData()!="" && 
262                    cur_video.entryId?has_content && cur_video.entryId.getData()!=""> 
263                        <#if cur_video.video_type.getData()="video"> 
264                            <@show_video video_name="${htmlUtil.escape(cur_video.getData())}" 
265                            video_description="${htmlUtil.escape(cur_video.description.getData())}" 
266                            video_duration="${cur_video.duration.getData()}" 
267                            video_thumbnail="${htmlUtil.escape(cur_video.thumbnail.getData())}" 
268                            video_partnerId="${cur_video.partnerId.getData()}" 
269                            video_player="${cur_video.player.getData()}" 
270                            video_entry="${htmlUtil.escape(cur_video.entryId.getData())}" 
271                            video_autoplay="${cur_video.autoPlay.getData()}" /> 
272                        <#else> 
273                            <@show_playlist video_name="${htmlUtil.escape(cur_video.getData())}" 
274                            video_description="${htmlUtil.escape(cur_video.description.getData())}" 
275                            video_duration="${cur_video.duration.getData()}" 
276                            video_thumbnail="${htmlUtil.escape(cur_video.thumbnail.getData())}" 
277                            video_partnerId="${cur_video.partnerId.getData()}" 
278                            video_player="${cur_video.player.getData()}" 
279                            video_entry="${htmlUtil.escape(cur_video.entryId.getData())}" 
280                            video_autoplay="${cur_video.autoPlay.getData()}" /> 
281                        </#if> 
282                    </#if> 
283                </#list> 
284        </div> 
285    </#if> 
286 
287    <#if footnotes?has_content && footnotes.getData()?has_content> 
288        <div class="axaim-insights-footnotes"> 
289            ${footnotes.getData()} 
290        </div> 
291    </#if> 
292 
293        <div class="axaim-insights-additional-content"> 
294 
295        <#assign first_related = getterUtil.getBoolean(true)> 
296        <#list related_link.getSiblings() as cur_related_link> 
297            <#if cur_related_link?has_content && cur_related_link.getData()!="" && cur_related_link.type_link?? && 
298            ((cur_related_link.link_to_page?has_content && cur_related_link.link_to_page.getData()!="") 
299            || (cur_related_link.link?has_content && cur_related_link.link.getData()!="") 
300            || (cur_related_link.link_to_document?has_content && cur_related_link.link_to_document.getData()!=""))> 
301                <#assign type_link = cur_related_link.type_link.getData()> 
302                <#assign has_page = type_link == "link_to_page" && cur_related_link.link_to_page?has_content && cur_related_link.link_to_page.getData()!=""> 
303                <#assign has_ext = type_link == "link_extern" && cur_related_link.link?has_content && cur_related_link.link.getData()!=""> 
304                <#assign has_doc = type_link == "document_library" && cur_related_link.link_to_document?has_content && cur_related_link.link_to_document.getData()!=""> 
305 
306                <#if has_page || has_ext || has_doc> 
307                    <#if first_related> 
308                    <div class="axaim-insights-links"> 
309                        <div class="axaim-insights-links-title"> 
310                            ${axaimTranslate("axaim.webcontent.news.links") } 
311                        </div> 
312                        <#assign first_related = getterUtil.getBoolean(false)> 
313                    </#if> 
314                    <div class="axaim-insights-links-link"> 
315                        <#if cur_related_link.alt_related_link?has_content && cur_related_link.alt_related_link.getData()!=""> 
316                            <#assign alt_literature = htmlUtil.escape(cur_related_link.alt_related_link.getData())> 
317                        <#else> 
318                            <#assign alt_literature = htmlUtil.escape(cur_related_link.getData())> 
319                        </#if> 
320                        <#if has_page> 
321                            <#assign link_url = cur_related_link.link_to_page.getFriendlyUrl()> 
322                            <#assign link_target = "_self"> 
323                            <#assign link_rel = "undefined"> 
324                        <#elseif has_ext> 
325                            <#assign link_url = htmlUtil.escape(cur_related_link.link.getData())> 
326                            <#assign link_target = "_blank"> 
327                            <#assign link_rel = "noopener noreferrer"> 
328                        <#elseif has_doc> 
329                            <#assign link_url = cur_related_link.link_to_document.getData()> 
330                            <#assign link_target = "_blank"> 
331                            <#assign link_rel = "noopener noreferrer"> 
332                        </#if> 
333                        <a href="${link_url}" title="${alt_literature}" rel="${link_rel}" 
334                           target="${link_target}">${htmlUtil.escape(cur_related_link.getData())}</a> 
335                    </div> 
336                </#if> 
337            </#if> 
338        </#list> 
339        <#if !first_related> 
340        </div> 
341        </#if> 
342        </div> 
343    </div> 
344</div> 
345 
346<script> 
347    (function (AUI) { 
348        AUI().use('node', 'event', function (A) { 
349            var header = A.one('#${insightId} .axaim-insights-docs-header'); 
350            if (header !== null) { 
351                header.on('click', function () { 
352                    this.ancestor().toggleClass('axaim-toggled'); 
353                }); 
354
355        }); 
356    })(AUI); 
357</script> 
358 
359<#function axaimTranslate labelText> 
360    <#if serviceLocator.findService("com.axa.im.wcm.labeltranslation.service.LabelTranslationLocalService")??> 
361        <#assign languageService = serviceLocator.findService("com.axa.im.wcm.labeltranslation.service.LabelTranslationLocalService") /> 
362        <#assign translated = languageService.getLabelTranslation(labelText, locale, companyId) /> 
363    <#else> 
364        <#assign translated = labelText /> 
365    </#if> 
366    <#return translated /> 
367</#function> 

Welcome on our selected AXA IM professionell investors websites

At AXA Investment Manager we are a long-term. global. multi-asset investment manager, offering a broad range of high quality funds which invest in a variety of different sectors. Our goal is to be the asset manager of choice for our clients, who range from individual and institutional investors, and their advisers.

Explore more about our focus funds and in our fund centre.

 

Welcome on our selected AXA IM professionell investors websites

At AXA Investment Manager we are a long-term. global. multi-asset investment manager, offering a broad range of high quality funds which invest in a variety of different sectors. Our goal is to be the asset manager of choice for our clients, who range from individual and institutional investors, and their advisers.

Explore more about our focus funds and in our fund centre.

 

Investment Strategie: Brexit July 2016

July 2016
An error occurred while processing the template.
Can't convert this string to number: "journal"
The blamed expression:
==> parts[2]?number  [in template "20155#20195#32526" at line 50, column 24]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign groupId = parts[2]?number  [in template "20155#20195#32526" at line 50, column 5]
----
1<#-- 
2  ~ Copyright (c) 2020 AXA Group Operations Spain S.A. 
3
4  ~ Licensed under the AXA Group Operations Spain S.A. License (the "License"); 
5  ~ you may not use this file except in compliance with the License. 
6  ~ A copy of the License can be found in the LICENSE.TXT file distributed 
7  ~ together with this file. 
8
9  ~ Unless required by applicable law or agreed to in writing, software 
10  ~ distributed under the License is distributed on an "AS IS" BASIS, 
11  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
12  ~ See the License for the specific language governing permissions and 
13  ~ limitations under the License. 
14  --> 
15 
16<#assign layoutLocalService = serviceLocator.findService('com.liferay.portal.kernel.service.LayoutLocalService') /> 
17<#assign layoutSetLocalService = serviceLocator.findService('com.liferay.portal.kernel.service.LayoutSetLocalService') /> 
18<#assign portalUtil = staticUtil["com.liferay.portal.kernel.util.PortalUtil"] /> 
19<#attempt> 
20    <#assign themeDisplay = request['theme-display'] /> 
21    <#assign scopeGroupId = themeDisplay['scope-group-id'] /> 
22    <#assign requestCurrentCompleteUrl = request["attributes"].CURRENT_COMPLETE_URL /> 
23    <#recover> 
24        <#assign scopeGroupId = groupId /> 
25        <#assign requestCurrentCompleteUrl = "" /> 
26</#attempt> 
27 
28<#assign imageMimeTypes = ["image/bmp", "image/gif", "image/jpeg", "image/png", "image/tiff", "image/x-ms-bmp", "image/x-tiff"] /> 
29 
30<#assign HTTP_PROTOCOL  = "http://" /> 
31<#assign HTTPS_PROTOCOL = "https://" /> 
32<#assign DEFAULT_PORT   = "80" /> 
33<#assign PORT_DELIMITER = ":" /> 
34 
35<#assign promotion = "${htmlUtil.escape(Promotion.getData())}" /> 
36<#assign boxColor = "${htmlUtil.escape(Promotion.BoxColor.getData())}" /> 
37<#assign textWidth = "${getterUtil.getInteger(Promotion.TextWidth.getData(), 30)}" /> 
38<#assign text = "${htmlUtil.escape(Promotion.Text.getData())}" /> 
39<#assign buttonText = "${htmlUtil.escape(Promotion.ButtonText.getData())}" /> 
40<#assign image = "${htmlUtil.escape(Promotion.Image.getData())}" /> 
41 
42<#assign promotionBoxStyle = "" /> 
43<#assign isImage = false /> 
44 
45<#-- Image field --> 
46<#if image?has_content && image!="" > 
47 
48<#-- Checks if the image field actually contains an image --> 
49    <#assign parts = image?split("/") /> 
50    <#assign groupId = parts[2]?number /> 
51    <#assign uuId = parts[5] /> 
52 
53    <#if uuId?contains("?") > 
54        <#assign uuId = uuId?substring(0, parts[5]?index_of("?")) /> 
55    </#if> 
56    <#assign dlFileEntryService = serviceLocator.findService('com.liferay.document.library.kernel.service.DLFileEntryService') /> 
57    <#attempt > 
58        <#assign file = dlFileEntryService.getFileEntryByUuidAndGroupId(uuId, groupId) /> 
59        <#assign mimeType = file.getMimeType() /> 
60        <#assign isImage = imageMimeTypes?seq_contains(mimeType) /> 
61        <#if isImage > 
62            <#assign promotionBoxStyle = "${promotionBoxStyle} background-image: url(${image});" /> 
63        </#if> 
64        <#recover> 
65        <#-- Do nothing --> 
66    </#attempt> 
67</#if> 
68 
69<#-- Button link can be a Link To Page, an External Link or an Internal Document Link --> 
70<#assign linkUrl = "" /> 
71<#assign has_link = false /> 
72 
73<#if Promotion.type_link?? > 
74 
75<#-- Gets the type of the link and checks if there is valid content in that type corresponding field --> 
76    <#assign type_link = Promotion.type_link.getData()> 
77    <#assign has_page = type_link == "link_to_page" && Promotion.link_to_page?has_content && Promotion.link_to_page.getData()!="" /> 
78    <#assign has_ext = type_link == "link_extern" && Promotion.link?has_content && Promotion.link.getData()!="" /> 
79    <#assign has_doc = type_link == "document_library" && Promotion.link_to_document?has_content && Promotion.link_to_document.getData()!="" /> 
80    <#assign has_link = buttonText?has_content && buttonText!="" && (has_page || has_ext || has_doc) /> 
81<#-- The button is added only if there is valid button text and the link is correct --> 
82    <#if has_link > 
83 
84    <#-- Link To Page --> 
85        <#if has_page > 
86 
87        <#-- Retrieves the Link To Page content in the form [layoutId]@[pageType]@[groupId] i.e. "348@public@9246542" --> 
88            <#assign linkData = Promotion.link_to_page.data /> 
89            <#assign linkArray = linkData?split("@") /> 
90 
91        <#-- Splits the Link To Page content in its three parameters --> 
92            <#assign linkGroupId = linkArray[2]?number /> 
93            <#assign linkIsPrivate = (linkArray[1] == "private") /> 
94            <#assign linkLayoutId = linkArray[0]?number /> 
95 
96        <#-- Checks the source of the asset (same or different site) and if the page was accessed via virtual host --> 
97            <#assign currentGroupId = scopeGroupId?number /> 
98            <#assign currentCompleteUrl = requestCurrentCompleteUrl /> 
99 
100        <#-- If the page was accesed via Virtual Host and the link points to a page from another site, 
101             the Link URL needs to be built from scratch and not just use the given friendly URL. --> 
102            <#attempt > 
103                <#if linkGroupId != currentGroupId && !currentCompleteUrl?contains("/web/") > 
104 
105                <#-- Gets the Page Friendly URL to be appended to the base URL--> 
106                    <#assign linkToPageLayout = layoutLocalService.getLayout(linkGroupId, linkIsPrivate, linkLayoutId) /> 
107                    <#assign linkToPageFriendlyUrl = linkToPageLayout.getFriendlyURL(locale) /> 
108 
109                <#-- Gets the Virtual Hostname via the LayoutSet, and the Server Port --> 
110                    <#assign linkToPageLayoutSet = layoutSetLocalService.getLayoutSet(linkGroupId, linkIsPrivate) /> 
111                    <#assign linkToPageVirtualHostname = linkToPageLayoutSet.getVirtualHostname() /> 
112                    <#assign serverPort = request["server-port"] /> 
113 
114                <#-- Forms the link URL from the Protocol, the virtual hostname, the port and the friendly URL of the page --> 
115                    <#if currentCompleteUrl?contains(HTTPS_PROTOCOL) > 
116                        <#assign urlProtocol = HTTPS_PROTOCOL /> 
117                    <#else> 
118                        <#assign urlProtocol = HTTP_PROTOCOL /> 
119                    </#if> 
120 
121                    <#if serverPort != DEFAULT_PORT > 
122                        <#assign urlPort = PORT_DELIMITER + serverPort /> 
123                    <#else> 
124                        <#assign urlPort = "" /> 
125                    </#if> 
126 
127                    <#assign linkUrl = urlProtocol + linkToPageVirtualHostname + urlPort + linkToPageFriendlyUrl /> 
128 
129                <#-- In any other case, the URL is the friendly URL of the page --> 
130                <#else> 
131                    <#assign linkUrl = "${Promotion.link_to_page.getFriendlyUrl()}" /> 
132                </#if> 
133                <#recover> 
134                    <#assign linkUrl = "" /> 
135                    <#assign has_link = false /> 
136            </#attempt> 
137        <#-- External link --> 
138        <#elseif has_ext > 
139            <#assign linkUrl = "${htmlUtil.escape(Promotion.link.getData())}" /> 
140 
141        <#-- Internal document link --> 
142        <#elseif has_doc > 
143            <#assign linkUrl = "${Promotion.link_to_document.getData()}" /> 
144        </#if> 
145    </#if> 
146</#if> 
147 
148<#if isImage && textWidth == '0'> 
149    <#assign promoType = "image" /> 
150    <#assign textWidth = '100' /> 
151<#else > 
152    <#assign promoType = boxColor /> 
153</#if> 
154 
155<#if has_link > 
156     <#assign contentTitle = "${.vars['reserved-article-title'].data}"/> 
157     <#assign escapedContentTitle = contentTitle?replace("\'","")?replace("/","")?replace("\"","")/> 
158     <a href='${linkUrl}' class="promotion promotion-${promoType} gh-promobanner" onclick="tagCoNotifier.notifyBanner(event,tagCoNotifier.promotionBannerType,'${escapedContentTitle}')" style="${promotionBoxStyle}"> 
159<#else > 
160     <div class="promotion promotion-${promoType} gh-promobanner" style="${promotionBoxStyle}"> 
161</#if> 
162    <div class="promotion-${textWidth}"></div> 
163    <div class="container"> 
164        <div id="promotion_${randomNamespace}" class="promotion__content promotion-${textWidth}"> 
165            <div class="promotion-text-wrapper"> 
166                <h2 class="promotion__title typo36 gh-hmb-promo-banner-title">${promotion}</h2> 
167                <#if text?has_content && text!="" > 
168                    <p class="promotion__abstract typo14 gh-hmb-promo-banner-text">${text}</p> 
169                </#if> 
170            </div> 
171            <#if has_link > 
172                <button class="button ghost white"> 
173                    <span class="gh-hmb-promo-banner-button-text">${buttonText}</span> 
174                    <svg viewBox="0 0 16 16" class="icon-right gh-hmb-promo-banner-arrow-icon"> 
175                        <path 
176                            fill="none" 
177                            stroke="currentColor" 
178                            stroke-miterlimit="10" 
179                            stroke-width="1.5" 
180                            vector-effect="non-scaling-stroke" 
181                            d="M9.97 3.57L14.4 8l-4.43 4.43M14.4 8H0" 
182                        ></path> 
183                    </svg> 
184                </button> 
185            </#if> 
186        </div> 
187    </div> 
188<#if has_link > 
189    </a> 
190<#else > 
191    </div> 
192</#if> 

Award 2016 - Morningstar

Caution: Fraudulent use of AXA IM name
> Read more information about this new issue
AXA IM Swiss Fund - Bonds CHF
> Find out more

footer

MORE ABOUT AXA IM ...

COOKIES - Analyse Cookies - CH - EN

Analytics cookies We and Google use Google Analytics cookies to collect information about how visitors use our website. These cookies collect information in the aggregate, and the...

COOKIES - Werbe Cookies - CH - EN

Advertising cookies We and below partners use tracers to display advertising personalized according to your navigation and your profile. Cookies are deployed when a visitor...

COOKIES - Cookies verwalten - CH - EN

Manage cookies Here you'll find all the information about the types of cookies we use, and you can refuse or consent to their usage. Non-essential cookies are never installed without...

CH private site cookie disclaimer

This website uses cookies to collect certain anonymous information when you visit our website (such as to measure and analyse information with respect to visits to...

CH site cookie disclaimer

Diese Webseite setzt Cookies, über die wir anonyme Daten erheben, wenn Sie die Seite nutzen. Dies geschieht beispielsweise zur Messung und Analyse Ihrer Besuche und...

CONTENT BLOCK - Home Page - CH - EN

Welcome on our selected AXA IM professionell investors websites At AXA Investment Manager we are a long-term. global. multi-asset investment manager, offering a broad range of...

footer

MORE ABOUT AXA IM ...

COOKIES - Analyse Cookies - CH - EN

Analytics cookies We and Google use Google Analytics cookies to collect information about how visitors use our website. These cookies collect information in the aggregate, and the...

COOKIES - Werbe Cookies - CH - EN

Advertising cookies We and below partners use tracers to display advertising personalized according to your navigation and your profile. Cookies are deployed when a visitor...

COOKIES - Cookies verwalten - CH - EN

Manage cookies Here you'll find all the information about the types of cookies we use, and you can refuse or consent to their usage. Non-essential cookies are never installed without...

CH private site cookie disclaimer

This website uses cookies to collect certain anonymous information when you visit our website (such as to measure and analyse information with respect to visits to...

CH site cookie disclaimer

Diese Webseite setzt Cookies, über die wir anonyme Daten erheben, wenn Sie die Seite nutzen. Dies geschieht beispielsweise zur Messung und Analyse Ihrer Besuche und...

CONTENT BLOCK - Home Page - CH - EN

Welcome on our selected AXA IM professionell investors websites At AXA Investment Manager we are a long-term. global. multi-asset investment manager, offering a broad range of...