Energies sostenibles
Multiple compatible overloaded variations were found with the same priority. The FTL type of the argument values were: Null. The Java type of the argument values were: Null. The matching overload was searched among these members: com.liferay.portal.kernel.util.Validator_IW.isNotNull(String), com.liferay.portal.kernel.util.Validator_IW.isNotNull(Long), com.liferay.portal.kernel.util.Validator_IW.isNotNull(Object) ---- FTL stack trace ("~" means nesting-related): - Failed at: #if (validator.isNotNull(imgSrc) && i... [in template "10901#10934#PRESTATGE_VIRTUAL_DETALL" at line 25, column 17] ----
1<#assign geniusGroupId="6200569">
2
3<#assign idUsuario = getterUtil.getLong(themeDisplay.getUserId())>
4<#if (idUsuario gt 0)>
5 <#assign userService = serviceLocator.findService("com.liferay.portal.kernel.service.UserLocalService")>
6 <#assign user =userService.getUserById(getterUtil.getLong(themeDisplay.getUserId()))>
7</#if>
8
9<#if (scopeGroupId?number != geniusGroupId?number)>
10
11 <script type="text/javascript">
12 function saveEntryAction(formName){
13 document.getElementById(formName).submit();
14 }
15 </script>
16
17 <div class="contingut detail-shelf">
18 <h2>
19 <#if (image.getData() != "" )>
20 <#assign imgSrc = image.getData()>
21 <#elseif (image.urlExterna.getData() != "")>
22 <#assign imgSrc = image.urlExterna.getData()>
23 </#if>
24
25 <#if (validator.isNotNull(imgSrc) && imgSrc?length gte 4 && imgSrc?substring(0,4) != "http")>
26 <#assign imagenURL=themeDisplay.getPortalURL()+imgSrc>
27 <#else>
28 <#assign imagenURL=imgSrc>
29 </#if>
30 <meta property="og:url" content="${themeDisplay.getPortalURL()}${themeDisplay.getURLCurrent()}"/>
31 <meta property="og:type" content="article" />
32 <meta property="og:description" content="${stringUtil.shorten(htmlUtil.stripHtml(description.getData()),250)}" />
33 <meta property="og:title" content="${title.getData()}" />
34 <meta property="og:image" content="${imagenURL}" />
35 <meta property="og:image:width" content="150" />
36 <meta property="og:image:height" content="150" />
37 <meta name="twitter:card" content="summary_large_image" />
38 <meta name="twitter:title" content="${title.getData()}" />
39 <meta name="twitter:description" content="${stringUtil.shorten(htmlUtil.stripHtml(description.getData()),250)}" />
40 <meta name="twitter:url" content="${themeDisplay.getPortalURL()}${themeDisplay.getURLCurrent()}"/>
41 <meta name="twitter:image" content="${imagenURL}" />
42
43
44 <#if (imgSrc!="")>
45 <img src="${imgSrc}" class="esquerra" />
46 </#if>
47 <span class="portlet-title-text">${title.getData()}</span>
48 </h2>
49 <#if (textSuscripcio.getData() != "")>
50 <div class="suscription hidden-sm hidden-xs">
51 <a href="${textSuscripcio.Enllac.getData()}">
52 ${textSuscripcio.getData()}
53 </a>
54 </div>
55 </#if>
56 <div class="valoraciones hidden-sm hidden-xs">
57
58 <!-- AddThis Button BEGIN -->
59
60 <#assign titolRecomanacio=title.getData()>
61
62
63 <div class="a2a_kit a2a_kit_size_32 a2a_default_style" data-a2a-url="${themeDisplay.getPortalURL()}${themeDisplay.getURLCurrent()}" data-a2a-title="${title.getData()}" style="background-color: #e6e6e6;display: inline-block;" data-a2a-icon-color="#e6e6e6,#000000">
64<!-- AddToAny BEGIN -->
65<div class="a2a_kit a2a_kit_size_32 a2a_default_style">
66<a class="a2a_dd" href="https://www.addtoany.com/share"></a>
67<a class="a2a_button_email"></a>
68<a class="a2a_button_print"></a>
69</div>
70
71<script>
72var a2a_config = a2a_config || {};
73a2a_config.onclick = false;
74a2a_config.locale = "es";
75
76</script>
77
78<script async src="https://static.addtoany.com/menu/page.js"></script>
79
80
81 <!--<div class="addthis_sharing_toolbox"></div>
82 <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-577a5ccbfa67f2db"></script>-->
83
84 <!-- AddThis Button END -->
85
86
87 <#if (validator.isNotNull(user) && !user.isDefaultUser()) >
88 <form name="auxfm" id="auxfm"
89 action="" method="post">
90 <input type="button" class="botoDesar" name="save" value="<@liferay.language key="save"/>" onclick="javascript:saveEntryAction("fmGuardarEntradaPersonal");"/>
91
92 </form>
93 </#if>
94
95 </div>
96
97 <div class="detalle_caixa hidden-xs">
98 <#if description.getData() != "" >
99 <div class="description">${description.getData()}</div>
100 </#if>
101 </div>
102
103 </div>
104
105<#else>
106 <script type="text/javascript">
107 function saveEntryAction(formName){
108 document.getElementById(formName).submit();
109 }
110 </script>
111
112 <div class="contingut">
113 <h3 class="portlet-title">
114 <span class="portlet-title-text">${title.getData()}</span>
115 </h3>
116
117 <div class="detalle_caixa">
118
119 <div class="valoraciones">
120
121
122
123 <#assign titolRecomanacio=title.getData()>
124
125 <div class="a2a_kit a2a_kit_size_32 a2a_default_style" data-a2a-url="${themeDisplay.getPortalURL()}${themeDisplay.getURLCurrent()}" data-a2a-title="${title.getData()}" style="background-color: #e6e6e6;display: inline-block;" data-a2a-icon-color="#e6e6e6,#000000">
126<!-- AddToAny BEGIN -->
127<div class="a2a_kit a2a_kit_size_32 a2a_default_style">
128<a class="a2a_dd" href="https://www.addtoany.com/share"></a>
129<a class="a2a_button_email"></a>
130<a class="a2a_button_print"></a>
131</div>
132
133<script>
134var a2a_config = a2a_config || {};
135a2a_config.onclick = false;
136a2a_config.locale = "es";
137
138</script>
139
140<script async src="https://static.addtoany.com/menu/page.js"></script>
141
142
143
144 <#if (validator.isNotNull(user) && !user.isDefaultUser())>
145 <form name="auxfm" id="auxfm"
146 action="" method="post">
147 <input type="button" class="botoDesar" name="save" value="<@liferay.language key="save"/>" onclick="javascript:saveEntryAction("fmGuardarEntradaPersonal");"/>
148
149 </form>
150 </#if>
151
152 </div>
153
154 <#if (image.getData() != "" )>
155 <#assign imgSrc = image.getData()>
156 <#elseif (image.urlExterna.getData() != "")>
157 <#assign imgSrc = image.urlExterna.getData()>
158 </#if>
159 <#if (imgSrc!="")>
160 <img src="${imgSrc}" class="esquerra" />
161 </#if>
162
163 <#if (description.getData() != "" )>
164 <div class="description">${description.getData()}</div>
165 </#if>
166 </div>
167
168 </div>
169
170</#if>
The following has evaluated to null or missing: ==> imgSrc [in template "10901#10934#PRESTATGE_MES_INFO_ENLLAÇ" at line 10, column 10] ---- 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: #if (imgSrc != "") [in template "10901#10934#PRESTATGE_MES_INFO_ENLLAÇ" at line 10, column 4] ----
1<#assign MAX_CHARACTERS_SIZE=150>
2<#assign geniusGroupId="6200569">
3<#if (scopeGroupId?number != geniusGroupId?number)>
4
5 <#if (image.getData() != '')>
6 <#assign imgSrc = image.getData()>
7 <#elseif (image.urlExterna.getData() != '')>
8 <#assign imgSrc= image.urlExterna.getData()>
9 </#if>
10 <#if (imgSrc != "")>
11 <div class="busques_informacio image">
12 <div class="image">
13 <a href="${url.getData()}"><img src="${imgSrc}" /></a>
14 </div>
15 <div class="detail">
16 <a class="titol" href="${url.getData()}">${title.getData()}</a>
17 <p>${stringUtil.shorten(htmlUtil.stripHtml(description.getData()),MAX_CHARACTERS_SIZE)}</p>
18 </div>
19 </div>
20 <#else>
21 <div class="busques_informacio no-image">
22 <div class="detail">
23 <a class="titol" href="${url.getData()}">${title.getData()}</a>
24 <p>${stringUtil.shorten(htmlUtil.stripHtml(description.getData()),MAX_CHARACTERS_SIZE)}</p>
25 </div>
26 </div>
27 </#if>
28<#else>
29 <div class="busques_informacio">
30 <a class="titol" href="${url.getData()}">${title.getData()}</a>
31 <#if (description.getData() != '' )>
32 <div class="busques_informacio_detail">
33
34 <#if (image.getData() != '' )>
35 <#assign imgSrc = image.getData()>
36 <#elseif (image.urlExterna.getData() != '')>
37 <#assign imgSrc= image.urlExterna.getData()>
38 </#if>
39 <#if (imgSrc != "")>
40 <a href="${url.getData()}"><img src="${imgSrc}" /></a>
41 </#if>
42
43 <p>${stringUtil.shorten(htmlUtil.stripHtml(description.getData()),MAX_CHARACTERS_SIZE)}</p>
44 </div>
45 </#if>
46 </div>
47</#if>
Diccionaris, enciclopèdies i recursos web on trobar informació sobre les energies, per trobar explicacions sobre termes claus, les diferents...
Documents i recursos webs que ens parlen de com aconseguir un aprofitament òptim de les fonts d'energia disponibles, ja sigui per la construcció,...
Notícies publicades amb motiu de l'Any Internacional de l'Energia Sostenible per a Tothom o relacionades amb les energies renovables. També...
The following has evaluated to null or missing: ==> imgSrc [in template "10901#10934#PRESTATGE_MES_INFO_ENLLAÇ" at line 10, column 10] ---- 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: #if (imgSrc != "") [in template "10901#10934#PRESTATGE_MES_INFO_ENLLAÇ" at line 10, column 4] ----
1<#assign MAX_CHARACTERS_SIZE=150>
2<#assign geniusGroupId="6200569">
3<#if (scopeGroupId?number != geniusGroupId?number)>
4
5 <#if (image.getData() != '')>
6 <#assign imgSrc = image.getData()>
7 <#elseif (image.urlExterna.getData() != '')>
8 <#assign imgSrc= image.urlExterna.getData()>
9 </#if>
10 <#if (imgSrc != "")>
11 <div class="busques_informacio image">
12 <div class="image">
13 <a href="${url.getData()}"><img src="${imgSrc}" /></a>
14 </div>
15 <div class="detail">
16 <a class="titol" href="${url.getData()}">${title.getData()}</a>
17 <p>${stringUtil.shorten(htmlUtil.stripHtml(description.getData()),MAX_CHARACTERS_SIZE)}</p>
18 </div>
19 </div>
20 <#else>
21 <div class="busques_informacio no-image">
22 <div class="detail">
23 <a class="titol" href="${url.getData()}">${title.getData()}</a>
24 <p>${stringUtil.shorten(htmlUtil.stripHtml(description.getData()),MAX_CHARACTERS_SIZE)}</p>
25 </div>
26 </div>
27 </#if>
28<#else>
29 <div class="busques_informacio">
30 <a class="titol" href="${url.getData()}">${title.getData()}</a>
31 <#if (description.getData() != '' )>
32 <div class="busques_informacio_detail">
33
34 <#if (image.getData() != '' )>
35 <#assign imgSrc = image.getData()>
36 <#elseif (image.urlExterna.getData() != '')>
37 <#assign imgSrc= image.urlExterna.getData()>
38 </#if>
39 <#if (imgSrc != "")>
40 <a href="${url.getData()}"><img src="${imgSrc}" /></a>
41 </#if>
42
43 <p>${stringUtil.shorten(htmlUtil.stripHtml(description.getData()),MAX_CHARACTERS_SIZE)}</p>
44 </div>
45 </#if>
46 </div>
47</#if>
The following has evaluated to null or missing: ==> imgSrc [in template "10901#10934#PRESTATGE_MES_INFO_ENLLAÇ" at line 10, column 10] ---- 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: #if (imgSrc != "") [in template "10901#10934#PRESTATGE_MES_INFO_ENLLAÇ" at line 10, column 4] ----
1<#assign MAX_CHARACTERS_SIZE=150>
2<#assign geniusGroupId="6200569">
3<#if (scopeGroupId?number != geniusGroupId?number)>
4
5 <#if (image.getData() != '')>
6 <#assign imgSrc = image.getData()>
7 <#elseif (image.urlExterna.getData() != '')>
8 <#assign imgSrc= image.urlExterna.getData()>
9 </#if>
10 <#if (imgSrc != "")>
11 <div class="busques_informacio image">
12 <div class="image">
13 <a href="${url.getData()}"><img src="${imgSrc}" /></a>
14 </div>
15 <div class="detail">
16 <a class="titol" href="${url.getData()}">${title.getData()}</a>
17 <p>${stringUtil.shorten(htmlUtil.stripHtml(description.getData()),MAX_CHARACTERS_SIZE)}</p>
18 </div>
19 </div>
20 <#else>
21 <div class="busques_informacio no-image">
22 <div class="detail">
23 <a class="titol" href="${url.getData()}">${title.getData()}</a>
24 <p>${stringUtil.shorten(htmlUtil.stripHtml(description.getData()),MAX_CHARACTERS_SIZE)}</p>
25 </div>
26 </div>
27 </#if>
28<#else>
29 <div class="busques_informacio">
30 <a class="titol" href="${url.getData()}">${title.getData()}</a>
31 <#if (description.getData() != '' )>
32 <div class="busques_informacio_detail">
33
34 <#if (image.getData() != '' )>
35 <#assign imgSrc = image.getData()>
36 <#elseif (image.urlExterna.getData() != '')>
37 <#assign imgSrc= image.urlExterna.getData()>
38 </#if>
39 <#if (imgSrc != "")>
40 <a href="${url.getData()}"><img src="${imgSrc}" /></a>
41 </#if>
42
43 <p>${stringUtil.shorten(htmlUtil.stripHtml(description.getData()),MAX_CHARACTERS_SIZE)}</p>
44 </div>
45 </#if>
46 </div>
47</#if>
Documents que trobaràs a les biblioteques i que ens mostren les diferents fonts d'energies sostenibles, a més d'una selecció de recursos web per...
T'oferim un ampli ventall de tots els organismes, institucions, entitats... que treballen pel desenvolupament sostenible de l'energia...
Posem a la teva disposició una sèrie de recursos que ens parlen de que pot fer la societat per evitar el canvi climàtic, si més no, per minimitzar...
Et presentem un recull de webs que t'expliquen, pas a pas, com fer experiments i activitats amb: plaques solars, motors, piles d'aigua,...