Login FAMILY COUNTER 0461 911509 Home Who we are Values Services News Territory Contacts Documents NEWS BULLETIN FEBRUARY 2017 OCTOBER 2016 FEBRUARY 2016 FEBRUARY 2015 CONFERENCE MARCH 2015 FEBRUARY 2014 OCTOBER 2014 OCTOBER 2015 An error occurred while processing the model. Error on line 70, column 5 in 228290 # 228328 # 230026 assetRenderer.getURLViewInContext (renderRequest, renderResponse, viewURL) is undefined. It cannot be assigned to viewURL 1 <script> 2 3 4 5 </script> 6 <style type = "text / css"> 7 8 .grayBoxList { 9 background-color: #edeaee; 10 padding-top: 20px; 11 padding-bottom: 20px; 12 margin-top: 30px; 13 padding-left: 20px; 14 padding-right: 20px; 15 } 16 17 .grayBoxList .title { 18 text-transform: uppercase; 19 font-size: 1.4em; 20 color: #7a2244; 21 22 } 23 24 .grayBoxList h2 { 25 text-transform: uppercase; 26 color: #7a2244; 27 font-size: 1.1em; 28 line-height: 1.1; 29 text-align: left; 30 } 31 32 .grayBoxList .data { 33 font-size: 1.3em; 34 color: #9a9296; 35 text-align: left; 36 padding-bottom: 10px; 37 } 38 39 .grayBoxList .text { 40 font-size: 1.1em; 41 color: #1d1d1b; 42 text-align: left; 43 padding-bottom: 20px; 44 } 45 46 .grayBoxList .singleBox { 47 background-color: #fff; 48 padding: 15px; 49 margin-top: 20px; 50 } 51</style> 52 53<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] /> 54 55<#assign AssetCategoryLocalService = serviceLocator.findService("com.liferay.portlet.asset.service.AssetCategoryLocalService")> 56 <#assign categories = AssetCategoryLocalService.getCategories(entry.getClassName(), entry.getClassPK()) /> 57 58 <#assign categoryname = "" > 59 <#assign linkName=""> 60 61 <div class="grayBoxList"> 62 63 <@getMetadataField fieldName="categories" /> 64 65 66<#list entries as entry> 67 <#assign entry = entry /> 68 <#assign assetRenderer = entry.getAssetRenderer() /> 69 <#assign entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) /> 70 <#assign viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) /> 71 72 <#assign className = assetRenderer.getClassName() /> 73 <#assign imgnews = "" /> 74 <#assign titolonews = "" /> 75 <#assign Data = "" /> 76 <#assign testonews = "" /> 77 78 <#if className == "com.liferay.portlet.journal.model.JournalArticle"> 79 80 <#assign journalArticle = assetRenderer.getArticle() > 81 <#assign document = saxReaderUtil.read(journalArticle.getContent())> 82 <#assign rootElement = document.getRootElement()> 83 84 85 <#assign stringSelector = "dynamic-element[@name='Data']/dynamic-content[@language-id = '" + locale + "']"> 86 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)> 87 <#if xPathSelector.selectSingleNode(rootElement)??> 88 <#assign Data = xPathSelector.selectSingleNode(rootElement).getStringValue()> 89 </#if> 90 91 <#assign stringSelector = "dynamic-element[@name='Titolo']/dynamic-content[@language-id = '" + locale + "']"> 92 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)> 93 <#if xPathSelector.selectSingleNode(rootElement)??> 94 <#assign titolonews = xPathSelector.selectSingleNode(rootElement).getStringValue()> 95 </#if> 96 97 <#assign stringSelector = "dynamic-element[@name='Testo']/dynamic-content[@language-id = '" + locale + "']"> 98 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)> 99 <#if xPathSelector.selectSingleNode(rootElement)??> 100 <#assign testonews = xPathSelector.selectSingleNode(rootElement).getStringValue()> 101 </#if> 102 103 <div class="singleBox"> 104 105 106 <a href="${viewURL}" target="_top" style="color: #7a2244;"><h2>${titolonews}</h2></a> 107 108 <div class="data">${Data}</div> 109 110 <div class="text"><a href="${viewURL}" target="_top" style="color: #7a2244;">Continua a leggere...</a></div> 111 112 113 </div> 114 </#if> 115 116</#list> 117</div> 118 119 120 <#macro getMetadataField fieldName> 121 <#if stringUtil.split(metadataFields)?seq_contains(fieldName)> 122 <#if fieldName == "categories"> 123 <#assign Fatto = 0> 124 <#assign AssetCategoryLocalService = serviceLocator.findService("com.liferay.portlet.asset.service.AssetCategoryLocalService")> 125 <#assign categories = AssetCategoryLocalService.getCategories(entry.getClassName(), entry.getClassPK()) /> 126 <#list categories as cat> 127 <#if Fatto == 0 > 128 <#assign Fatto = 1> 129 <#if cat.getName() =="Novita" > 130 131 <div class="title">Novit&agrave;</div> 132 133 <#else> 134 135 <div class="title">Consigli</div> 136 </#if> 137 </#if> 138 </#list> 139 </#if> 140 </#if> 141 </#macro> CONSIGLI RACCOLTA TAPPI IN PLASTICA: FAI ADERISCE AL PROGETTO CHE SOSTIENE L'AUTISMO Continua a leggere... FAI Famiglia Anziani Infanzia Via Gramsci 48/a-50/a, 38123 TRENTO Tel. 0461 911509 - Fax 0461 934280 - Email: info@faicoop.com VAT number 00980950224 - REA no. TN-108780 - National register of cooperatives no. A157854 Privacy Cookies help us deliver quality services. By using our services, the user accepts our methods of use of cookies. Further information OK