UNSERE KUNDEN

Bei Fagor Professional sind wir Spezialisten für die Realisierung von Räumen, die auf Ihre Bedürfnisse zugeschnitten sind. Entdecken Sie einige unserer interessantesten Projekte.
Fehler bei der Verarbeitung der Vorlage.
Can't convert this string to number: "555576?p_r_p_categoryId=555576"
The blamed expression:
==> tempString?substring(0, tempString?index_of("&"))?number  [in template "20101#20127#94738" at line 17, column 63]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign selectedCategoryId = tempStri...  [in template "20101#20127#94738" at line 17, column 33]
	- Reached through: @liferay_aui.col width=100  [in template "20101#20127#94738" at line 5, column 25]
	- Reached through: @liferay_aui.row  [in template "20101#20127#94738" at line 3, column 9]
----
1<#if entries?has_content> 
2    <div class="container clients-list">  
3    	<@liferay_aui.row> 
4    		<#list entries as entry> 
5    			<@liferay_aui.col width=100> 
6    			    <div class="categories-filter"> 
7        				<div class="results-header"> 
8                            <span> <@liferay.language key="com.fagorindustrial.news.tabs-title.show"/></span> 
9        				</div> 
10        				<#assign categories = entry.getCategories() /> 
11                        <#assign selectedCategoryId = -1 /> 
12                        <#assign currentURL = portalUtil.getCurrentURL(renderRequest) /> 
13 
14                        <#if currentURL?index_of("categories/") != -1 > 
15                            <#assign tempString = currentURL?substring(currentURL?index_of("categories/")+11, currentURL?length) />   
16                            <#if tempString?index_of("&") != -1> 
17                                <#assign selectedCategoryId = tempString?substring(0, tempString?index_of("&"))?number />  
18                            <#else> 
19                                <#assign selectedCategoryId = tempString?substring(0, tempString?length)?number />  
20                            </#if> 
21                        </#if>  
22 
23        				<#if serviceLocator?? && selectedCategoryId != -1> 
24    						<#assign assetCategoryService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryService") /> 
25                            <#assign selectedCategory = assetCategoryService.getCategory(selectedCategoryId) /> 
26 
27                            <#assign rootCategory = selectedCategory /> 
28                            <#if rootCategory.parentCategoryId != 0> 
29                                <#assign rootCategory = assetCategoryService.getCategory(selectedCategory.parentCategoryId) />                                 
30                            </#if> 
31 
32                            <#assign categories = assetCategoryService.getChildCategories(rootCategory.categoryId) /> 
33    					</#if> 
34        				<@displayCategories categories=categories /> 
35        			</div> 
36    			</@liferay_aui.col> 
37    		</#list> 
38    	</@liferay_aui.row> 
39	</div> 
40</#if> 
41 
42 
43<#macro displayCategories categories> 
44 
45 
46	<#if categories?has_content> 
47		<ul class="categories"> 
48            <#if selectedCategoryId == -1> 
49		        <li class="selected"> 
50    		        <a href="/our-customers"><span><@liferay.language key="com.fagorindustrial.news.tabs-name.all"/></span></a> 
51		        </li> 
52            </#if> 
53			<#list categories as category> 
54			    <#if selectedCategoryId != -1 || (selectedCategoryId == -1 && category.getParentCategoryId() == 0)> 
55                     
56                    <#assign class = "" /> 
57                    <#if category.categoryId == selectedCategoryId> 
58                        <#assign class = 'class="selected"' /> 
59                    </#if>	    
60 
61    				<li ${class}> 
62    					<#assign categoryURL = renderResponse.createRenderURL() /> 
63    					${categoryURL.setParameter("resetCur", "true")} 
64    					${categoryURL.setParameter("categoryId", category.getCategoryId()?string)} 
65                        <a href="${categoryURL}">${category.getTitle(locale)}</a>   
66    				</li> 
67    			</#if>	 
68			</#list> 
69		</ul> 
70	</#if> 
71    <#if selectedCategoryId != -1> 
72        <a class="back-link" href="/nuestros-clientes"> 
73            <img class="icon-arrow red" src="/o/fagor-industrial-portal-theme/images/ico-arrow-right.svg"> 
74            <span><@liferay.language key="back"/></span> 
75        </a> 
76    </#if> 
77</#macro>