Case studies

An error occurred while processing the template.
No compatible overloaded variation was found; declared parameter types and argument value types mismatch.
The FTL type of the argument values were: extended_hash+string (com.liferay.portal.json.JSONObjectImpl wrapped into f.e.b.StringModel).
The Java type of the argument values were: com.liferay.portal.json.JSONObjectImpl.
The matching overload was searched among these members:
    com.liferay.portal.json.JSONFactoryImpl.createJSONObject(String),
    com.liferay.portal.json.JSONFactoryImpl.createJSONObject(Map),
    com.liferay.portal.json.JSONFactoryImpl.createJSONObject()

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign articleImageContent = jsonFac...  [in template "20101#20128#3282403" at line 36, column 33]
----
1<#if entries?has_content> 
2 
3   <#assign cdn = (mlxUrlUtilService.getCdn(groupId))!"" /> 
4 
5   <#assign globalGroupId = mlxConstants.getLongConstant("GroupIds","GLOBAL")/> 
6   <div class="corporate--cases--carouselv4"> 
7      <div class="corporate--cases--carouselv4--top--container" data-gtm-block-name="Case-study" data-js="slider" data-js-type="tiny-slider" data-js-config='{"container": ".corporate--cases--carouselv4--top--container", "autoplay":true, "autoplayButtonOutput":false, "mouseDrag":true, "controls":false, "loop":false, "navContainer": ".corporate--cases--carouselv4--bottom--container"}'> 
8         <#list entries as curEntrys> 
9         <#assign asset = curEntrys.getAssetRenderer() /> 
10         <#assign fields =  asset.getDDMFormValuesReader().getDDMFormValues().getDDMFormFieldValues() /> 
11         <#assign articles = mlxAssetHelperService.getJournalArticleByEntry(curEntrys)/> 
12          
13         <#assign articleValues = mlxJournalHelperService.getStructureFieldValues(articles, "${locale}") /> 
14          
15         <#assign articlesUrl = mlxUrlUtilService.getUrlByJournalArticle(articles, "${locale}", groupId)?string /> 
16         <#assign articleNames = (articleValues["description"]?string)!"" /> 
17         <#assign articleVideoContent = mlxJournalHelperService.getStructureFieldValue(articles, "video_gallery_file", "${locale}")![] /> 
18         <#assign articleDescription = (articleValues["html_description"]?string)!"" /> 
19         <#assign clientStrKey = "CLIENT-STR"/> 
20         <#assign articleClient = (mlxAssetHelperService.getFirstRelatedArticle(groupId, articles.articleId, clientStrKey))!"" /> 
21         <#assign globalGroupId = mlxConstants.getLongConstant("GroupIds","GLOBAL")/> 
22         <#assign articleUrl =  mlxUrlUtilService.getUrlByJournalArticle(articles, "${locale}", groupId)?string /> 
23         <#if articleClient != "">        
24         <#assign clientName = mlxJournalHelperService.getStructureFieldValue(articleClient, "name", "${locale}")?string />                               
25         <#else> 
26         <#assign clientName = articleNames>   
27         </#if>                    
28         <#if articleNames?has_content>  
29            <article class="item corporate--cases--carouselv4--top--item"> 
30                <figure class="corporate--cases--carouselv4--top--figure"> 
31                 
32                <#list fields as field> 
33                    <#if field.getName()=="name"> 
34                            <#assign articleImageContent = (articleValues["standout_image"])!"{}" /> 
35                            <#if articleImageContent != ""> 
36                                <#assign articleImageContent = jsonFactoryUtil.createJSONObject(articleImageContent) /> 
37                                <#assign articleImage = mlxDocumentsHelperService.getDocumentUrlFromUUID(articleImageContent.uuid, "${locale}") /> 
38                                ${corporate.img(cdn+articleImage, false, 'class="corporate--cases--carouselv4--top--image"')} 
39                            </#if>  
40                    </#if>  
41                </#list> 
42                </figure> 
43                <div class='corporate--cases--carouselv4--top--content'> 
44                    <h3 class="corporate--cases--carouselv4--top--title">${clientName}</h3> 
45                    <p class="corporate--cases--carouselv4--top--description"> 
46                        <#if articleNames?length &lt; 263> 
47                            ${articleNames} 
48                        <#else> 
49                            ${articleNames?substring(0,263)}... 
50                        </#if> 
51                    </p> 
52                    <a href="${articleUrl}" title="" class="corporate--cases--carouselv4--top--cta"><@corporate.mlxlanguage key="mlx.client.see-practical-case" /></a> 
53                </div> 
54            </article> 
55         </#if> 
56         </#list> 
57      </div> 
58       
59      <div class="corporate--cases--carouselv4--bottom--container" data-js="slider" data-js-type="tiny-slider" data-js-config='{"container": ".corporate--cases--carouselv4--bottom--container", "autoplay":false, "autoplayButtonOutput":false, "mouseDrag":true, "controls":false, "nav":false, "loop":false, "items":3}'> 
60         <#list entries as curEntrys> 
61         <#assign article = mlxAssetHelperService.getJournalArticleByEntry(curEntrys) /> 
62         <#assign WarticleClient = (mlxAssetHelperService.getFirstRelatedArticle(groupId, article.articleId, clientStrKey))!"" /> 
63         <div class="item corporate--cases--carouselv4--bottom--item"> 
64            <div class="content corporate--cases--carouselv4--bottom--content"> 
65               <#if WarticleClient != ""> 
66                <#assign WarticleClientValues = mlxJournalHelperService.getStructureFieldValues(WarticleClient, "${locale}") /> 
67               <#assign Wnames = (WarticleClientValues["name"]?string)!"" /> 
68               <div class="content corporate--cases--carouselv4--bottom--title">${Wnames}</div> 
69                                        
70            </#if> 
71            </div> 
72            <#if WarticleClient != ""> 
73            <#assign clientLogoContent = (WarticleClientValues["logo"])!"{}"  /> 
74             
75			<#if clientLogoContent?has_content> 
76				<#assign clientLogoContent = clientLogoContent?replace('\\u','') />	 
77				<#assign clientLogo = clientLogoContent?eval /> 
78			</#if> 
79             
80            <#assign clientName = (WarticleClientValues["name"]?string)!"" /> 
81             
82            <#if clientLogo?has_content> 
83            <#assign fileEntry = mlxDLFileEntryHelperService.getDLFileEntry(clientLogo.uuid, globalGroupId) /> 
84            <#assign clientLogoUrl = mlxDocumentsHelperService.getDocumentUrlFromUUID(clientLogo.uuid, "${locale}") /> 
85            <#assign clientLogoAlt = mlxExpandoService.getExpandoValueForClass("com.liferay.document.library.kernel.model.DLFileEntry","mlxDocumentTitle",fileEntry.getFileVersion().getFileVersionId()).getString(locale)!""/> 
86             
87            <#if clientLogoAlt == ""> 
88				<#assign clientLogoAlt = clientName /> 
89			</#if> 
90             
91            <figure class="corporate--cases--carouselv4--bottom--figure">   
92               ${corporate.img(cdn+clientLogoUrl, false, 'alt="' + clientLogoAlt + '"', 'title="' + clientLogoAlt + '"', 'class="corporate--cases--carouselv4--bottom--image"')}           
93            </figure> 
94            </#if> 
95            </#if> 
96         </div> 
97         </#list> 
98      </div> 
99   </div> 
100    
101</#if> 

Here you can see some real solutions that Mecalux has developed. Contact us so we can assess the ideal solution for your company.

Contact us

Some of our case studies

— 50 Items per Page
Showing 1 - 50 of 480 results.