Pilih Berdasarkan Kategori

Asuransi Kesehatan

Asuransi kesehatan dengan perlindungan total yang tepat bagi Anda dan keluarga

Selengkapnya

Asuransi Jiwa

Asuransi kesehatan dengan perlindungan total yang tepat bagi Anda dan keluarga

Selengkapnya

Asuransi Umum

Asuransi kesehatan dengan perlindungan total yang tepat bagi Anda dan keluarga

Selengkapnya
Kesalahan terjadi ketika Memproses Template.
No compatible overloaded variation was found; declared parameter types and argument value types mismatch.
The FTL type of the argument values were: Null, Null, Null.
The Java type of the argument values were: Null, Null, Null.
The matching overload was searched among these members:
    static com.liferay.portal.kernel.service.LayoutLocalServiceUtil.getLayout(long, boolean, long),
    static com.liferay.portal.kernel.service.LayoutLocalServiceUtil.getLayout(long)

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign pageLayout = layoutLocalServi...  [in template "20097#20123#1170803" at line 99, column 41]
----
1<#assign dlAppServiceUtil = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppService") /> 
2<section class="cx-section-beli-online cx-landing-beli-online"> 
3    <div class="container CX-wrapper"> 
4        <div class="box-inner-beli-online"> 
5            <div class="box-head" data-aos="fade-up"> 
6                <h2 class="title">Asuransi Kesehatan</h2> 
7            </div> 
8            <div class="box-content-beli-online"> 
9                <div class="carousel-landing-beli-online" data-aos="fade-up"> 
10                    <!--LOOPING--> 
11                    <#if entries?has_content> 
12                        <#list entries as curEntry> 
13                         
14                            <#assign entryId = curEntry.getClassPK()/> 
15                            <#assign renderer = curEntry.getAssetRenderer()/> 
16                            <#assign className = renderer.getClassName()/> 
17                             
18                            <#if className = "com.liferay.journal.model.JournalArticle"> 
19                             
20                                <#assign journalArticle = renderer.getArticle() /> 
21                                <#assign document = saxReaderUtil.read(journalArticle.getContentByLocale(locale.toString())) /> 
22                                <#assign rootElement = document.getRootElement()/> 
23 
24                                <#list rootElement.elements() as dynamicElement>  
25                                    <#if "Thumbnail" == dynamicElement.attributeValue("name")> 
26                                        <#assign ImageBackground = dynamicElement.element("dynamic-content").getStringValue()/> 
27                                        <#assign path_image = "/documents/"/> 
28                                        <#assign image_json = jsonFactoryUtil.createJSONObject(ImageBackground)/> 
29                                        <#assign image_title = image_json.getString('title') /> 
30                                        <#assign image_alt = image_json.getString('alt') /> 
31                                        <#assign image_grupid = image_json.getString('groupId') + "/" /> 
32                                        <#assign image_fileEntryId = image_json.getString('fileEntryId') + "/" /> 
33                                        <#assign image_name = stringUtil.replace(image_json.getString('name'), " ","%20" )/> 
34                                        <#assign image_uuid = "/" + image_json.getString('uuid') + "/"/> 
35                                        <#assign full_image = path_image + image_grupid + image_fileEntryId + image_name + image_uuid />  
36                                    </#if>  
37                                    <#if "utm_source" == dynamicElement.attributeValue("name")> 
38                                        <#assign utmSource = dynamicElement.element("dynamic-content").getText()/>  
39                                    </#if> 
40                                    <#if "utm_campaign" == dynamicElement.attributeValue("name")> 
41                                        <#assign utmCampaign = dynamicElement.element("dynamic-content").getText()/>  
42                                    </#if> 
43                                    <#if "BeliOnline" == dynamicElement.attributeValue("name")> 
44                                        <#assign beliOnline = dynamicElement.element("dynamic-content").getText()/>  
45                                    </#if> 
46                                    <#if "HotOffer" == dynamicElement.attributeValue("name")> 
47                                        <#assign hotOffer = dynamicElement.element("dynamic-content").getText()/>  
48                                    </#if> 
49                                    <#if "Cashback" == dynamicElement.attributeValue("name")> 
50                                        <#assign cashback = dynamicElement.element("dynamic-content").getText()/>  
51                                    </#if> 
52                                    <#if "Discount" == dynamicElement.attributeValue("name")> 
53                                        <#assign discount = dynamicElement.element("dynamic-content").getText()/>  
54                                    </#if> 
55                                    <#if "BestSeller" == dynamicElement.attributeValue("name")> 
56                                        <#assign bestSeller = dynamicElement.element("dynamic-content").getText()/>  
57                                    </#if> 
58                                    <#if "Teks21q3" == dynamicElement.attributeValue("name")> 
59                                        <#assign entity = dynamicElement.element("dynamic-content").getText()/>  
60                                    </#if> 
61                                    <#if "TitleProduct" == dynamicElement.attributeValue("name")> 
62                                        <#assign title = dynamicElement.element("dynamic-content").getText()/>  
63                                    </#if> 
64                                    <#if "DescriptionProduct" == dynamicElement.attributeValue("name")> 
65                                        <#assign desc = dynamicElement.element("dynamic-content").getText()/>  
66                                    </#if> 
67                                    <#if "LinkEksternalBeliOnline" == dynamicElement.attributeValue("name")> 
68                                        <#assign linkEksternal = dynamicElement.element("dynamic-content").getText()/>  
69                                    </#if> 
70                                    <#if "LinkDetail" == dynamicElement.attributeValue("name")> 
71                                        <#assign linkToPage = dynamicElement.element("dynamic-content").getData()/>  
72                                        <#-- split the string to just get the page layout id , groupID and if its a private layout--> 
73 
74                                        <#if linkToPage?contains("@")> 
75                                            <#list linkToPage?split("@") as item> 
76                                                <#if item_index == 0> 
77                                                    <#assign linkPageId = item?number> 
78                                                </#if> 
79                                                <#if item_index == 1> 
80                                                    <#if item == "private"> 
81                                                        <#assign linkPrivate = true> 
82                                                    <#else> 
83                                                        <#assign linkPrivate = false> 
84                                                    </#if> 
85                                                </#if> 
86                                                <#if item_index = 2> 
87                                                    <#assign linkGroupId = item?number> 
88                                                </#if> 
89                                            </#list> 
90                                        <#elseif linkToPage?contains("groupId")> 
91                                                <#assign customFieldJson = linkToPage?eval /> 
92                                                <#assign linkPageId = customFieldJson.layoutId?number> 
93    											<#assign linkPrivate = customFieldJson.privateLayout> 
94    											<#assign linkGroupId = customFieldJson.groupId?number> 
95                                        </#if> 
96 
97                                        <#-- get layout --> 
98                                        <#assign layoutLocalService = staticUtil["com.liferay.portal.kernel.service.LayoutLocalServiceUtil"]> 
99                                        <#assign pageLayout = layoutLocalService.getLayout(linkGroupId, linkPrivate, linkPageId)> 
100 
101                                        <#-- get Friendly URL --> 
102                                        <#assign portalUtil = staticUtil["com.liferay.portal.kernel.util.PortalUtil"]> 
103                                        <#assign link = portalUtil.getLayoutFriendlyURL(pageLayout, themeDisplay)> 
104                                    </#if> 
105                                </#list> 
106 
107                                <#if linkEksternal != ""> 
108                                    <#assign url = linkEksternal /> 
109                                <#else> 
110                                    <#assign url = link + "#ebuyForm" /> 
111                                </#if> 
112 
113                                <#assign idMenuUtm = title?replace(" ","")?replace("&","")?replace("<br/>", "")?replace("<br>", "")?replace("</br>", "")?lower_case /> 
114                                <#assign index = curEntry?index /> 
115                                 
116                                <#if beliOnline = "true"> 
117                                    <div class="list-product"> 
118                                        <div class="box-image"> 
119                                            <@adaptive_media_image["img"] class="img-fluid lazyload" alt="${image_alt}" fileVersion=dlAppServiceUtil.getFileEntry(image_json.getLong('fileEntryId')).getFileVersion()/>  
120                                        </div> 
121                                        <div class="box-tag"> 
122                                            <#if hotOffer == "true"> 
123                                                <div class="box-hotoffer"> 
124                                                    <span>Hot Offer</span> 
125                                                </div> 
126                                            </#if> 
127                                            <#if cashback == "true"> 
128                                                <div class="box-hotoffer CashBack"> 
129                                                    <span>Cashback</span> 
130                                                </div> 
131                                            </#if> 
132                                            <#if discount == "true"> 
133                                                <div class="box-hotoffer Discount"> 
134                                                    <span>Discount</span> 
135                                                </div> 
136                                            </#if> 
137                                            <#if bestSeller == "true"> 
138                                                <div class="box-hotoffer BestSeller"> 
139                                                    <span>Best Seller</span> 
140                                                </div> 
141                                            </#if> 
142                                        </div> 
143                             
144                                        <div class="box-content"> 
145                                            <p class="entity">${entity}</p> 
146                                            <h3 class="title" data-toggle="popover"  data-trigger="hover"  data-content="${title}">${title}</h3> 
147                                            <p class="desc" data-toggle="popover"  data-trigger="hover"  data-content="${desc}">${desc}</p> 
148                                            <div class="btn-holder text-center"> 
149                                                <a href="${link}" id="${idMenuUtm}${index}-detail" class="btn cx-btn btn-round btn-primary mb-3">Lihat Detail</a> 
150                                                <a href="${url}" id="${idMenuUtm}${index}" class="btn cx-btn btn-round btn-secondary">Beli Sekarang</a> 
151                                            </div> 
152                                        </div> 
153                                        <script type="text/javascript"> 
154                                            $(document).ready(function(){ 
155                                                var titlePage = $(document).find("title").text(); 
156                                                var splitTitle = titlePage.split("-"); 
157                                                var utm_medium = splitTitle[0].replace(/\s/g, '').toLowerCase(); 
158                                                var utm_source = "${utmSource}"; 
159                                                var utm_campaign = "${utmCampaign}"; 
160                                                var real_url = "${url}"; 
161                                                var detail_url = "${link}"; 
162                                                if(utm_source != "" || utm_medium != "" || utm_campaign != "") { 
163                                                    $("#${idMenuUtm}${index}").attr("href", real_url + "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&utm_campaign=" + utm_campaign); 
164                                                    $("#${idMenuUtm}${index}-detail").attr("href", detail_url + "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&utm_campaign=" + utm_campaign); 
165                                                }else{ 
166                                                    $("#${idMenuUtm}${index}").attr("href", real_url); 
167                                                    $("#${idMenuUtm}${index}-detail").attr("href", detail_url); 
168
169                                            }) 
170                                        </script> 
171                                    </div> 
172                                </#if> 
173 
174                            </#if>         
175                        </#list>     
176                    </#if> 
177                    <!--LOOPING--> 
178                </div> 
179            </div> 
180        </div> 
181    </div> 
182</section>