Normativa nacional de Seguridad en el trabajo: Trabajo con riesgo eléctrico - Listado de NTP

20 Resultados
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> documento.groupId  [in template "20157#20197#112036" at line 37, column 88]

----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign file = fileEntry.getFileEntry...  [in template "20157#20197#112036" at line 37, column 17]
----
1<#-- 
2Documentacion_colecciones_listado_ADT 
3Tipo : Publicador de contenidos Plantilla 
4Ej URL http://dev-www.insst.es:8080/ntp-notas-tecnicas-de-prevencion 
5--> 
6 
7<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext() /> 
8<#assign fileEntry=serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") /> 
9 
10<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
11<#assign imagesPath = themeDisplay.getPathThemeImages() /> 
12 
13<#assign iconos={"image/png":"img", 
14    "image/tiff":"img", 
15    "image/gif":"img", 
16    "image/jpeg":"img", 
17    "image/bmp":"img", 
18    "image/webp":"img", 
19    "video/x-msvideo":"video", 
20    "video/x-ms-wmv": "video", 
21    "video/quicktime":"video", 
22    "video/mpeg":"video", 
23    "video/ogg":"video", 
24    "video/mp4":"video", 
25    "video/x-flv":"video"} 
26
27 
28<#if entries?has_content> 
29    <section class="row-list files"> 
30        <div class="row list"> 
31        <#list entries as entry> 
32            <#assign docXml = saxReaderUtil.read(entry.getAssetRenderer().getArticle().getContentByLocale(locale)) /> 
33            <#assign documentoSTR = docXml.valueOf("//dynamic-element[@name='Documento']/dynamic-content") /> 
34            <#if documentoSTR?has_content> 
35                <#assign documento = documentoSTR?eval> 
36                <#assign documentoURL = customUtil.getDLFileEntryURL(documentoSTR, themeDisplay) /> 
37                <#assign file = fileEntry.getFileEntryByUuidAndGroupId(documento.uuid, documento.groupId?number) /> 
38                <#assign genericImageAtl = "Documentacion colecciones listado n" + .now?long?c /> 
39                <#assign currentImageAlt = docXml.valueOf( "//dynamic-element[@name='ImagenTextoAlternativo']")?trim /> 
40                <#assign currentImageAlt = currentImageAlt?has_content?then(currentImageAlt, genericImageAtl) /> 
41 
42                <#if iconos[file.getMimeType()]??> 
43                    <#assign tipoIcono = iconos[file.getMimeType()]/> 
44                <#else> 
45                    <#assign tipoIcono = "pdf"/> 
46                </#if> 
47 
48                <div class="col-12"> 
49                    <article> 
50                        <img class="img-icon" src="${imagesPath}/icono-${tipoIcono}.png" alt="${tipoIcono}" /> 
51                        <div class="content"> 
52                            <a class="title" href="${documentoURL}" target="_blank">${entry.getTitle(locale)}</a> 
53                            <#if file.getDescription()?has_content> 
54                                <span class="description">${file.getDescription()}</span> 
55                            </#if> 
56                            <div class="size">(${file.extension?upper_case}, ${customUtil.getFileSizeFormatted(file.size)})</div> 
57                        </div> 
58                    </article> 
59                </div> 
60 
61            </#if> 
62        </#list> 
63        </div> 
64    </section> 
65</#if> 
— 12 Resultados por página
Intervalo 1 - 12 de 20 resultados.