Aggregatore Risorse

Indietro Tartufi

Si è verificato un errore nell'elaborarazione del modello.
Can't convert this string to number: "{\"groupId\":\"10180\",\"name\":\"Tartufi\",\"id\":\"4f356066-dceb-4c5d-b24d-f13335cd2fc0\",\"privateLayout\":false,\"value\":\"/tartufi\",\"layoutId\":\"49\"}"
The blamed expression:
==> curEntry.getData()?number  [in template "10154#10192#13240" at line 7, column 83]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign layout = LayoutLocalService.g...  [in template "10154#10192#13240" at line 7, column 17]
----
1<#setting number_format="computer"> 
2<#assign LayoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService")> 
3<div> 
4    <ul class="look-archive"> 
5        <#if target.siblings?has_content>  
6            <#list target.siblings as curEntry>  
7                <#assign layout = LayoutLocalService.getLayout(groupId?long,false,curEntry.getData()?number?long) /> 
8               <#assign  nomeLink = curEntry.getChild("nomeLink").getData() /> 
9               <#if layout??> 
10                <li> 
11                    <#if nomeLink == ""> 
12                        <a href="${curEntry.getFriendlyUrl()}">"${layout.name}"</a> 
13                    <#else> 
14                        <a href="${curEntry.getFriendlyUrl()}">${nomeLink}</a> 
15                    </#if> 
16               </li> 
17               </#if> 
18            </#list> 
19        </#if> 
20    </ul> 
21</div>