web-search-iaap Portlet

Caja destacada ACAA

Te ayudamos...

  • Si quieres proponer formación no contemplada en el programa.

Envíanos un correo con tus datos y necesidades  

viewer-portlet-iaap Portlet

Formación para personal sanitario dentro del Plan de Recuperación Transformación y Resiliencia

4 - USO RACIONAL DE LOS RECURSOS DIAGNÓSTICOS Y TERAPÉUTICOS
Se ha producido un error al procesar la plantilla.
Java method "com.sun.proxy.$Proxy469.getLatestArticle(long, int)" threw an exception when invoked on com.sun.proxy.$Proxy469 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@1048d0e2"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: curCursoJournal = journalArticleLocal...  [in template "30710#30744#112523" at line 31, column 42]
	- Reached through: #assign-container  [in template "30710#30744#112523" at line 25, column 21]
----
1<#assign RestrictionsFactoryUtil = staticUtil["com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil"] 
2		 journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
3		 ddmTemplateLocalService = serviceLocator.findService("com.liferay.dynamic.data.mapping.service.DDMTemplateLocalService")			 
4/> 
5 
6<#if ! themeDisplay ? has_content>         
7    <#assign liferay_theme = PortletJspTagLibs["/META-INF/liferay-theme.tld"] /> 
8    <@liferay_theme["defineObjects"] /> 
9</#if> 
10 
11<#assign templateQuery = ddmTemplateLocalService.dynamicQuery() 
12	     VOID = templateQuery.add(RestrictionsFactoryUtil.like("name", "%>CURSO_SANITARIO%")) 
13		 VOID = templateQuery.add(RestrictionsFactoryUtil.eq("groupId", groupId)) 
14		 listTemplates = ddmTemplateLocalService.dynamicQuery(templateQuery) 
15/> 
16 
17<#if titulo.getData()?? && titulo.getData() != ""> 
18	<div class="subtitulo-grupo">${titulo.getData()}</div> 
19</#if> 
20 
21<div class="formacion-especifica-cursos"> 
22<#if cursos.getData()?has_content> 
23	<#list cursos.getSiblings() as cur_curso>	 
24		<#if cur_curso.getData() ? has_content> 
25		    <#assign curCursoId= cur_curso.getData()?replace("\"classPK\":","") 
26					 curCursoId= curCursoId?replace("\"className\":\"com.liferay.journal.model.JournalArticle\"","") 
27					 curCursoId= curCursoId?replace("\"","")  
28					 curCursoId= curCursoId?replace(",","")  
29					 curCursoId= curCursoId?replace("{","")  
30					 curCursoId= curCursoId?replace("}","")        
31					 curCursoJournal = journalArticleLocalService.getLatestArticle(curCursoId?number,0) 
32					    	    /> 
33			<#list listTemplates as currentTemplate>	 
34		   		${journalArticleLocalService.getArticleContent(curCursoJournal, currentTemplate.getTemplateKey(), "VIEW", locale, themeDisplay)} 
35		   	</#list> 
36		 </#if> 
37   	</#list> 
38</#if> 
39</div><!--fin formacion transversal cursos-->