null Gerente - Coordinador (Turismo)
Se ha producido un error al procesar la plantilla.
Java method "pa.mtl.asset.service.impl.MtlAssetServiceImpl.getArticleFormFieldValueAssetEntry(com.liferay.dynamic.data.mapping.storage.DDMFormFieldValue, Locale)" threw an exception when invoked on pa.mtl.asset.service.impl.MtlAssetServiceImpl object "pa.mtl.asset.service.impl.MtlAssetServiceImpl@4d15c99a"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign aeEnlace = (mtlAssetService.g...  [in template "36403#36449#TPL_OCUPACION" at line 132, column 33]
----
1<#assign titulo = .vars['reserved-article-title'].data /> 
2<#assign mtlAssetService = serviceLocator.findService("pa.mtl.asset.service.api.MtlAssetService")> 
3<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
4<#assign articleId = .vars['reserved-article-id'].data/> 
5<#assign journalArticle = journalArticleLocalService.getArticle(groupId, articleId) />  
6<#assign ddmFormFieldValuesMap = mtlAssetService.getDDMFormFieldValuesMap(journalArticle) />  
7 
8<#-- 
9    <p><#if getterUtil.getBoolean(destacado.getData())>  </#if></p> 
10    <p><#if getterUtil.getBoolean(destacadoDia.getData())>  </#if></p> 
11    <p>${sector.getData()}</p> 
12--> 
13 
14 
15<#assign tabNames = "description,category.marketplace,training" /> 
16<#if video.getData()?? && video.getData() != ""> 
17	<#assign tabNames = "description,category.marketplace,training,video" /> 
18</#if> 
19 
20<#assign selectedTab = paramUtil.getString(request, "selectedTab")/> 
21 
22<@liferay_ui["tabs"] names="${tabNames}" type="tabs nav-tabs-default" refresh=false value="${selectedTab}"> 
23    <@liferay_ui["section"]> 
24        <div> 
25            <p><#if imagen.getData()?? && imagen.getData() != ""> <img alt="${(imagen.getAttribute("alt"))!"Imagen"}" data-fileentryid="${(imagen.getAttribute("fileEntryId"))!""}" src="${imagen.getData()}" /> </#if></p> 
26        </div> 
27        <div> 
28            <p><@liferay.language key="description" />:</p> 
29            <p>${.vars['reserved-article-description'].data}</p> 
30            <p>${competenciasClave.getData()}</p> 
31                <p>${competenciasGenerales.getData()}</p> 
32     
33            <hr/> 
34             
35            <p>${tareas.getData()}</p> 
36             
37            <hr/> 
38             
39             
40            <#assign ddmffvEnlacesDescripcion = ddmFormFieldValuesMap["enlacesDescripcion"] /> 
41            <#if ddmffvEnlacesDescripcion?has_content> 
42            	<ul> 
43            	 
44                <#list ddmffvEnlacesDescripcion as ddmffvEnlace>  
45                 	<#assign aeEnlace = (mtlAssetService.getArticleFormFieldValueAssetEntry(ddmffvEnlace, locale))!"" /> 
46                 	<#if aeEnlace?has_content> 
47                     	<li> 
48                     		${journalArticleLocalService.getArticleContent(aeEnlace.getAssetRenderer().getAssetObject(), "","VIEW", locale, themeDisplay)} 
49                     	</li> 
50                 	</#if> 
51            	</#list> 
52            	 
53            	</ul>     
54            </#if> 
55     
56        </div> 
57	</@> 
58	 
59	 
60	 
61	 
62    <@liferay_ui["section"]> 
63		<p>${mercadoTrabajo.getData()}</p> 
64		 
65		<hr/> 
66		 
67		<#assign ddmffvEnlacesInfoMercTrabajo = ddmFormFieldValuesMap["enlacesInfoMercTrabajo"] /> 
68		<#if ddmffvEnlacesInfoMercTrabajo?has_content> 
69			<ul> 
70			 
71			<#list ddmffvEnlacesInfoMercTrabajo as ddmffvEnlace>  
72				<#assign aeEnlace = (mtlAssetService.getArticleFormFieldValueAssetEntry(ddmffvEnlace, locale))!"" /> 
73				<#if aeEnlace?has_content> 
74					<li> 
75						${journalArticleLocalService.getArticleContent(aeEnlace.getAssetRenderer().getAssetObject(), "","VIEW", locale, themeDisplay)} 
76					</li> 
77				</#if> 
78			</#list> 
79			 
80			</ul>     
81		</#if> 
82		 
83		<hr/> 
84		 
85		<#assign ddmffvEnlacesOfertasEmpleo = ddmFormFieldValuesMap["enlacesOfertasEmpleo"] /> 
86		<#if ddmffvEnlacesOfertasEmpleo?has_content> 
87			<ul> 
88			 
89			<#list ddmffvEnlacesOfertasEmpleo as ddmffvEnlace>  
90				<#assign aeEnlace = (mtlAssetService.getArticleFormFieldValueAssetEntry(ddmffvEnlace, locale))!"" /> 
91				<#if aeEnlace?has_content> 
92					<li> 
93						${journalArticleLocalService.getArticleContent(aeEnlace.getAssetRenderer().getAssetObject(), "","VIEW", locale, themeDisplay)} 
94					</li> 
95				</#if> 
96			</#list> 
97			 
98			</ul>     
99		</#if> 
100    </@> 
101	 
102	 
103	 
104    <@liferay_ui["section"]> 
105		<p>${formacion.getData()}</p> 
106		 
107		<hr/> 
108		 
109		<#assign ddmffvEnlacesFormacion = ddmFormFieldValuesMap["enlacesFormacion"] /> 
110		<#if ddmffvEnlacesFormacion?has_content> 
111			<ul> 
112			 
113			<#list ddmffvEnlacesFormacion as ddmffvEnlace>  
114				<#assign aeEnlace = (mtlAssetService.getArticleFormFieldValueAssetEntry(ddmffvEnlace, locale))!"" /> 
115				<#if aeEnlace?has_content> 
116					<li> 
117						${journalArticleLocalService.getArticleContent(aeEnlace.getAssetRenderer().getAssetObject(), "","VIEW", locale, themeDisplay)} 
118					</li> 
119				</#if> 
120			</#list> 
121			 
122			</ul>     
123		</#if> 
124		 
125		<hr/> 
126		 
127		<#assign ddmffvEnlacesInfoConsultas = ddmFormFieldValuesMap["enlacesInfoConsultas"] /> 
128		<#if ddmffvEnlacesInfoConsultas?has_content> 
129			<ul> 
130			 
131			<#list ddmffvEnlacesInfoConsultas as ddmffvEnlace>  
132				<#assign aeEnlace = (mtlAssetService.getArticleFormFieldValueAssetEntry(ddmffvEnlace, locale))!"" /> 
133				<#if aeEnlace?has_content> 
134					<li> 
135						${journalArticleLocalService.getArticleContent(aeEnlace.getAssetRenderer().getAssetObject(), "","VIEW", locale, themeDisplay)} 
136					</li> 
137				</#if> 
138			</#list> 
139			 
140			</ul>     
141		</#if> 
142    </@> 
143	 
144	 
145	<#if video.getData()?? && video.getData() != ""> 
146		<@liferay_ui["section"]> 
147			<#assign videoFieldValue = ddmFormFieldValuesMap["video"][0] /> 
148			<#assign videoAssetEntry = mtlAssetService.getDlFormFieldValueAssetEntry(videoFieldValue, locale) /> 
149			<#--<#assign videoFfvMap = mtlAssetService.getDDMFormFieldValuesMap(videoAssetEntry) />--> 
150			 
151			<p> 
152				${videoAssetEntry.getDescription()} 
153			</p> 
154			 
155			<#--<#assign videoCaptions = (getDownloadURL(mtlAssetService.getDlFormFieldValueAssetEntry(videoFfvMap["subtitulos"][0], locale), true))!"" /> 
156			<#assign videoCaptionsText = (getVideoCaptionsText(mtlAssetService.getDlFormFieldValueAssetEntry(videoFfvMap["subtitulos"][0], locale)))!"" /> 
157			<#assign videoAudioDesc = (getDownloadURL(mtlAssetService.getDlFormFieldValueAssetEntry(videoFfvMap["descripcionAuditiva"][0], locale), false))!"" /> 
158			<#assign videoUrl = getDownloadURL(videoAssetEntry, false) /> 
159			<#assign videoData = themeDisplay.getPathThemeImages()+"/player.swf?file=" + videoUrl + "&amp;captions=" + videoCaptions + "&amp;audio=" + videoAudioDesc + "&amp;autoStart=false&amp;plugins=captions-1,audiodescription-1" />--> 
160			 
161			<div class="cajavideo"> 
162				<video controls> 
163					<source src="${video.getData()}" type="video/mp4"> 
164				</video> 
165				<#--<object type="application/x-shockwave-flash" width="372" height="283" data="${videoData}"> 
166					<param name="wmode" value="transparent"/> 
167					<param name="movie" value="${videoData}"/> 
168					<param name="allowScriptAccess" value="always" /> 
169					<param name="allowFullScreen" value="true"/> 
170					<param name="scale" value="noscale" /> 
171					<param name="salign" value="lt" /> 
172					<param name="quality" value="high" /> 
173					<param name="bgcolor" value="#fffbda" /> 
174				 
175					 
176					<img src="/RecursosWeb/trabajastur/Videos/${videoAssetEntry.getDescription()}.jpg" alt="${titulo}"> 
177					 
178					<p>	 
179					<#if videoCaptions?? && videoCaptions != ""> 
180                        ${htmlUtil.stripHtml(videoCaptionsText)} 
181					</#if> 
182					</p> 
183				</object>--> 
184			</div> 
185		</@> 
186		 
187		 
188		 
189		 
190		<#--<#function getDownloadURL theAssetEntry="" addHost=false> 
191			<#assign theDocumentUrl = "" /> 
192			<#if theAssetEntry?has_content> 
193    			<#assign theFileEntry = (theAssetEntry.getAssetRenderer().getAssetObject())!"" /> 
194    			<#if theFileEntry?has_content> 
195    				<#assign theDocumentUrl = "/o/mtl-document/download/" + theFileEntry.getFileEntryId() + "/" + theFileEntry.getFileName() /> 
196    				<#if addHost> 
197    					<#assign theDocumentUrl = portalUtil.getPortalURL(themeDisplay) + theDocumentUrl /> 
198    				</#if> 
199    			</#if> 
200			</#if> 
201			<#return theDocumentUrl> 
202		</#function> 
203		 
204		<#function getVideoCaptionsText theAssetEntry=""> 
205			<#assign theContent = "" /> 
206			<#if theAssetEntry?has_content> 
207				<#assign theFileEntry = (theAssetEntry.getAssetRenderer().getAssetObject())!"" /> 
208				<#if theFileEntry?has_content> 
209					<#assign theContent = stringUtil.read(theFileEntry.getContentStream()) /> 
210				</#if> 
211			</#if> 
212			<#return theContent> 
213		</#function>--> 
214	</#if> 
215</@>