Henkilöhakemisto

Virhe tapahtui prosessoidessa esitysmallia.
Java method "com.sun.proxy.$Proxy52.getAssetCategory(long)" threw an exception when invoked on com.sun.proxy.$Proxy52 object "com.liferay.asset.categories.internal.service.AssetCategoryPropertyAssetCategoryLocalServiceWrapper@f30ac17"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if assetCategoryLocalService.getAsse...  [in template "20154#20194#1150744" at line 107, column 13]
----
1<#-- 
2Widget templates can be used to modify the look of a 
3specific application. 
4 
5Please use the left panel to quickly add commonly used variables. 
6Autocomplete is also available and can be invoked by typing "${". 
7--> 
8<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") /> 
9<#assign selectedTehtava = "" > 
10<#if request.getParameter("p_r_p_categoryId")?has_content> 
11    <#assign selectedTehtava = request.getParameter("p_r_p_categoryId") > 
12</#if> 
13 
14<#assign langPrefix = "" /> 
15<#assign pageURL =  themeDisplay.getLayout().getFriendlyURL() /> 
16<#assign t = {} /> 
17 
18<#switch locale> 
19    <#case "en_US"> 
20        <#assign langPrefix = "/en" /> 
21        <#assign t = { 
22            "expertises" : "Expertises", 
23            "phone" : "Phone", 
24            "mobile" : "Mobile", 
25            "fax" : "Fax", 
26            "email" : "Email", 
27            "emailhint" : "firstname.lastname@lvm.fi", 
28               
29            "by_name" : "By name", 
30            "by_expertises" : "By expertise", 
31            "by_expertises_link", langPrefix + pageURL + "/by-expertise", 
32            "by_departments_and_units" : "By departments and units", 
33            "by_departments_and_units_link" : langPrefix + "/departments-units"      
34        }  
35        />         
36        <#break> 
37    <#case "sv_SE"> 
38        <#assign langPrefix = "/sv" /> 
39        <#assign t = { 
40            "expertises" : "Expertises", 
41            "phone" : "Telefon", 
42            "mobile" : "Mobiltelefon", 
43            "fax" : "Fax", 
44            "email" : "E-post", 
45            "emailhint" : "fornamn.efternamn@lvm.fi", 
46               
47            "by_name" : "Enligt namn", 
48            "by_expertises" : "Enligt arbeten", 
49            "by_expertises_link",  langPrefix + pageURL + "/enligt-arbeten", 
50            "by_departments_and_units" : "Enligt avdelning och enhet", 
51            "by_departments_and_units_link" : langPrefix + "/avdelning-och-enhet"     
52        }  
53        />         
54        <#break>         
55    <#default> 
56        <#assign t = { 
57            "fax" : "Faksi", 
58            "phone" : "Puhelin", 
59            "mobile" : "Matkapuhelin", 
60            "expertises" : "Teht&auml;v&auml;t", 
61            "email" : "S&auml;hk&ouml;posti", 
62            "emailhint" : "etunimi.sukunimi@lvm.fi", 
63               
64            "by_name" : "Nimen mukaan", 
65            "by_expertises" : "Tehtävittäin", 
66            "by_expertises_link", pageURL + "/tehtavittain", 
67            "by_departments_and_units" : "Osastoittain ja yksiköittäin", 
68            "by_departments_and_units_link" : "/osastoittain-ja-yksikoittain" 
69        }  
70        />  
71</#switch> 
72 
73<#assign pageURL =  langPrefix  + themeDisplay.getLayout().getFriendlyURL() /> 
74 
75<div class="henkilohakemisto"> 
76    <ul class="nav nav-tabs" role="tablist" >  
77    <li role="tab" <#if !selectedTehtava?has_content> class="active" aria-selected="true" </#if>> 
78            <a href="${pageURL}"><span>${t.by_name}</span></a> 
79        </li>  
80        <li role="tab"  <#if selectedTehtava?has_content> class="active" aria-selected="true" </#if>> 
81            <a href="${t.by_expertises_link}"><span>${t.by_expertises}</span></a> 
82        </li> 
83        <li role="tab"> 
84            <a href="${t.by_departments_and_units_link}"><span>${t.by_departments_and_units}</span></a>  
85        </li> 
86    </ul> 
87 
88 
89    <#if entries?has_content> 
90        <#if !selectedTehtava?has_content> 
91            <#assign availableIndexLetters = [] > 
92            <#list entries as curEntry> 
93                <#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContent()) /> 
94                <#assign etunimi = docXml.getRootElement().selectSingleNode("//dynamic-element[@name='Etunimi']/dynamic-content") /> 
95                <#assign sukunimi = docXml.getRootElement().selectSingleNode("//dynamic-element[@name='Sukunimi']/dynamic-content") /> 
96                 
97                <#if sukunimi?has_content && sukunimi.getText()?has_content> 
98                    <#assign firstLetter = sukunimi.getText()[0]?lower_case /> 
99                    <#if !availableIndexLetters?seq_contains(firstLetter)> 
100                        <#assign availableIndexLetters = availableIndexLetters + [firstLetter] > 
101                    </#if> 
102                </#if> 
103            </#list> 
104 
105            <@printIndexes availableIndexLetters /> 
106        <#else> 
107            <#if assetCategoryLocalService.getAssetCategory(selectedTehtava?number)?has_content> 
108                <#assign tehtavaCategory = assetCategoryLocalService.getAssetCategory(selectedTehtava?number)> 
109                <h2>${tehtavaCategory.getTitle(locale)?cap_first}</h2> 
110            </#if> 
111        </#if> 
112 
113        <#assign lastFirstletter = "" /> 
114        <#list entries as curEntry>	 
115            <#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContent()) /> 
116            <#assign etunimi = docXml.getRootElement().selectSingleNode("//dynamic-element[@name='Etunimi']/dynamic-content") /> 
117            <#assign sukunimi = docXml.getRootElement().selectSingleNode("//dynamic-element[@name='Sukunimi']/dynamic-content") /> 
118            <#assign titteli = docXml.getRootElement().selectSingleNode("//dynamic-element[@name='Titteli']/dynamic-content[@language-id=\""+locale.toString()+"\"]") /> 
119            <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry, true) > 
120             
121            <#if sukunimi?has_content && sukunimi.getText()?has_content> 
122                <#assign firstLetter = sukunimi.getText()[0]?lower_case /> 
123 
124                 
125                <#if lastFirstletter != firstLetter> 
126                    <a id="${firstLetter}"></a> 
127                </#if> 
128                 
129                <div style="display: block;" class="person-row"> 
130                    <div class="person-name"> 
131                        <a href="${viewURL?keep_before("?")}"> 
132                            <!--<span class="sr-only">${titteli.getText()}</span>--> 
133                            <span>${sukunimi.getText()} ${etunimi.getText()}</span> 
134                        </a> 
135                    </div> 
136                    <div class="person-title"><span>${titteli.getText()}</span></div> 
137                </div>         
138                <#assign lastFirstletter = firstLetter /> 
139                 
140            </#if> 
141 
142        </#list> 
143    </#if> 
144</div> 
145 
146 
147<#macro printIndexes availableIndexLetters> 
148    <#assign indexLetters = ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','Å','Ä','Ö'] /> 
149 
150    <ul class="nav nav-tabs index-nav" role="tablist"> 
151 
152    <#list indexLetters as letter> 
153        <#if availableIndexLetters?seq_contains(letter?lower_case)> 
154            <li role="tab"> 
155                <a href="#${letter?lower_case}">${letter}</a> 
156            </li> 
157        <#else> 
158            <li role="tab" class="disabled" aria-hidden="true"><span>${letter}</span></li> 
159        </#if> 
160    </#list> 
161    </ul> 
162</#macro> 

Ministeriön yhteystiedot

Vaihde:  0295 16001
Postiosoite:  PL 31, 00023 Valtioneuvosto
Käyntiosoite: Eteläesplanadi 16, Helsinki

Rekisterinpitäjä

Liikenne- ja viestintäministeriö

Tietosuoja

Tietosuojavastaava Saara Kulmala
tietosuojavastaava(a)lvm.fi
lvm.fi/tietosuoja​​​​​​​   

Henkilötietojen tarkistaminen

Pyyntö henkilötietojen tarkistamiseksi (valtioneuvosto)