Noticias

Últimas noticias

  • Se ha producido un error al procesar la plantilla.
    Java method "com.liferay.portal.kernel.util.DateUtil_IW.parseDate(String, String, Locale)" threw an exception when invoked on com.liferay.portal.kernel.util.DateUtil_IW object "com.liferay.portal.kernel.util.DateUtil_IW@72539aa8"; see cause exception in the Java stack trace.
    
    ----
    FTL stack trace ("~" means nesting-related):
    	- Failed at: #assign fechaDateObj = dateUtil.parse...  [in template "8778129#8778168#10154307" at line 82, column 13]
    ----
    1<#ftl output_format="HTML" auto_esc=true> 
    2<#assign image_missing =languageUtil.get(locale,'jjgg.noticias.imagen.defecto') > 
    3<#assign param = 'q'><#-- nombre del parametro de busqueda para incluir al final de los links--> 
    4<!-- SERVICES --> 
    5<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
    6<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") > 
    7<#assign assetHelperLocalService = serviceLocator.findService("net.bizkaia.iybiscuc.service.AssetHelperLocalService")> 
    8 
    9<#assign assetLinkLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetLinkLocalService") /> 
    10<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
    11<#assign dDMStructureLocalService = serviceLocator.findService("com.liferay.dynamic.data.mapping.service.DDMStructureLocalService") /> 
    12 
    13<!-- VARIABLES --> 
    14<#assign articleId = .vars['reserved-article-id'].data > 
    15<#assign articleTitle = .vars['reserved-article-title'].data > 
    16<#assign journalArticle = journalArticleLocalService.getArticle(articleGroupId, articleId) > 
    17<#assign articlePK = journalArticle.getResourcePrimKey() > 
    18<#assign journalArticleClassName = "com.liferay.journal.model.JournalArticle"> 
    19<#assign vocabularyTopicsId = propsUtil.get("bipo.vocabulary.eventType")> 
    20<#assign vocabularyScheduleRegionId = propsUtil.get("bipo.vocabulary.scheduleRegion")> 
    21 
    22<#assign viewURL = assetHelperLocalService.getURLViewInContext(journalArticle, themeDisplay)!languageUtil.get(locale,'jjgg.noticias.url.defecto') > 
    23 
    24<#assign request = themeDisplay.getRequest()> 
    25<#assign query = ''> 
    26 
    27 
    28<#if request.getParameter(param)?has_content > 
    29	<#assign query = request.getParameter(param) /> 
    30	<#assign viewURL = viewURL + '?' + param + '=' + query /> 
    31</#if> 
    32 
    33<#assign hayImagen = false> 
    34 
    35<div class="row flex-column no-gutters"> 
    36    <div class="col"> 
    37    <#--<#list grupoImagenesVideos.imagen.getSiblings() as curImage> 
    38        <#if validator.isNotNull(curImage)> 
    39			<#assign hayImagen = true/> 
    40            <#assign image_Data = curImage.getData()> 
    41            <#assign image_Alt_Data = grupoImagenesVideos.imgAlt.getData()> 
    42            <#if validator.isNull(image_Data)> 
    43				<#assign hayImagen = false> 
    44            	<#assign image_Data = image_missing> 
    45            	<#assign image_Alt_Data = languageUtil.get(locale,'jjgg.no.imagen') > 
    46            </#if> 
    47        </#if> 
    48    </#list>--> 
    49	<#assign hayImagen = false> 
    50 
    51<#--<#list grupoImagenesVideos.imagen.getSiblings() as curImage>--> 
    52<#list grupoImagenesVideos.getSiblings() as curImage> 
    53    <#if validator.isNotNull(curImage)  && !validator.equalsSorted([""],[curImage]) > 
    54		<#assign hayImagen = true/> 
    55		 
    56        <#assign image_Data = curImage.imagen.getData()> 
    57        <#assign image_Alt_Data = curImage.imgAlt.getData()> 
    58		 
    59      <#if validator.isNull(image_Data) || validator.equalsSorted([""],[image_Data]) > 
    60			<#assign hayImagen = false> 
    61            <#assign image_Data = image_missing> 
    62            <#assign image_Alt_Data = languageUtil.get(locale,'jjgg.no.imagen') > 
    63		 
    64		 
    65        </#if> 
    66    </#if> 
    67 <#if hayImagen ><#break></#if>  
    68	 
    69</#list> 
    70		<#if hayImagen > 
    71        <div class="jjgg-image" style="background-image: url('${image_Data}');"><img loading="lazy" alt="${image_Alt_Data}" class="jjgg-img-hidden" src="${image_Data}"></div> 
    72		<#else> 
    73		<div class="jjgg-image"></div> 
    74		</#if> 
    75    </div> 
    76     
    77    <div class="col py-3 py-md-4 px-3 px-md-4"> 
    78        <#assign fechaData = getterUtil.getString(fecha.getData())> 
    79        <#if validator.isNotNull(fecha)> 
    80            <#--EN CASO DE QUE HAYA ALGÚN ERROR POR EL PARSEA, DESCOMENTAR LOS ATTEMPT, PUEDE SER QUE HAYA UNA NOTICIA "FANTASMA"--> 
    81            <#--<#attempt>--> 
    82            <#assign fechaDateObj = dateUtil.parseDate("yyyy-MM-dd", fechaData, locale)> 
    83            <#assign datetime=dateUtil.getDate(fechaDateObj,"yyyy-MM-dd",locale) /> 
    84            <#assign fechaFormat = languageUtil.get(locale, 'jjgg.fecha.formato') /> 
    85            <#assign fecha=dateUtil.getDate(fechaDateObj, fechaFormat, locale) /> 
    86            <time class="jjgg-fecha" datetime="${datetime}"> 
    87                ${fecha} 
    88            </time> 
    89            <#--<#recover> 
    90                ${articleId} 
    91            </#attempt>--> 
    92        </#if> 
    93        <#if validator.isNotNull(enlace.getData())> 
    94        	<#assign viewURL = enlace.getData()> 
    95        </#if> 
    96	    <#assign targetLink=getTarget(enlace.ventanaNueva.getData()) > 
    97        <h1><a href="${viewURL}" target="${targetLink}" 
    98            <#if targetLink == "_blank"> 
    99				aria-label="<@liferay.language key='opens-new-window' /> ${viewURL}" 
    100		    </#if> 
    101		    >${titulo.getData()}</a> 
    102	    </h1> 
    103         
    104        <div class="row align-items-center"> 
    105            <div class="col"><p><a class="jjgg-button" href="${viewURL}" target="${targetLink}" aria-label="<@liferay.language key='jjgg.noticias.leer-mas' /> ${titulo.getData()}"><@liferay.language key='jjgg.noticias.noticia-detalle.leer' /></a></p></div> 
    106             
    107            <div class="col"> 
    108                <ul class="jjgg-rrss-block"> 
    109                    <li> 
    110                        <a href="<@liferay.language key='jjgg.noticias.sharer.whatsapp' />${viewURL}" aria-label="<@liferay.language key='jjgg.noticias.compartir.whatsapp' /> ${viewURL}" target="_blank"> 
    111                            <span class="bipoicon icon-whatsapp"> 
    112                                <span class="sr-only"><@liferay.language key='jjgg.noticias.whatsapp' /></span> 
    113                            </span> 
    114                        </a> 
    115                    </li> 
    116                    <li> 
    117                        <a href="<@liferay.language key='jjgg.noticias.sharer.facebook' />${viewURL}" aria-label="<@liferay.language key='jjgg.noticias.compartir.facebook' /> ${viewURL}" target="_blank"> 
    118                            <span class="bipoicon icon-facebook"> 
    119                                <span class="sr-only"><@liferay.language key='jjgg.noticias.facebook' /></span> 
    120                            </span> 
    121                        </a> 
    122                    </li> 
    123                    <li> 
    124                        <a href="<@liferay.language key='jjgg.noticias.sharer.email' />${viewURL}" aria-label="<@liferay.language key='jjgg.noticias.compartir.email' /> ${viewURL}" target="_blank"> 
    125                            <span class="bipoicon icon-email"> 
    126                                <span class="sr-only"><@liferay.language key='jjgg.noticias.email' /></span> 
    127                            </span>  
    128                        </a> 
    129                    </li> 
    130                </ul> 
    131            </div> 
    132        </div> 
    133    </div> 
    134</div> 
    135  
    136<#function getTarget(element)> 
    137    <#if getterUtil.getBoolean(element)> 
    138        <#assign target = "_blank" /> 
    139    <#else> 
    140        <#assign target = "_self" /> 
    141    </#if> 
    142    <#return target /> 
    143</#function> 

Noticias sobre Igualdad

Declaraciones Institucionales