The following has evaluated to null or missing:
==> Imagem_de_fundo [in template "10154#10192#75861107" at line 3, column 17]
----
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: imagemFundo = Imagem_de_fundo.getData... [in template "10154#10192#75861107" at line 3, column 3]
----
1<#-- === PRÉ-ATRIBUIÇÕES === -->
2<#assign
3 imagemFundo = Imagem_de_fundo.getData()!""
4 imagemFundoAlt = Imagem_de_fundo.getAttribute("alt")!""
5 imagemFundoId = Imagem_de_fundo.getAttribute("fileEntryId")!""
6
7 marcaImg = Marca.getData()!""
8 marcaAlt = Marca.getAttribute("alt")!""
9 marcaId = Marca.getAttribute("fileEntryId")!""
10
11 tag = Tag.getData()!""
12 nomeSubsite = Nome_do_subsite.getData()!""
13 urlSubsite = URL_base_do_subsite.getData()!""
14/>
15<#-- Flags -->
16<#assign
17 hasImagemFundo = imagemFundo?has_content
18 hasMarca = marcaImg?has_content
19 hasTag = tag?has_content
20 hasNomeSubsite = nomeSubsite?has_content
21 hasLink = urlSubsite?has_content
22/>
23
24<#-- === IMAGEM DE FUNDO === -->
25<#if hasImagemFundo>
26 <img
27 class="embp_unidades_banner_img"
28 src="${imagemFundo}"
29 alt="${htmlUtil.escapeAttribute(imagemFundoAlt!nomeSubsite)}"
30 data-fileentryid="${imagemFundoId}"
31 />
32</#if>
33
34<div class="container-fluid container-fluid-max-xl px-2">
35 <h1 class="embp_unidades_banner_title">
36
37 <#-- TAG -->
38 <#if hasTag>
39 <span>${tag}</span>
40 </#if>
41
42 <#-- NOME DO SUBSITE -->
43 <#if hasNomeSubsite>
44 <#if hasLink>
45 <a href="${urlSubsite?html}">
46 <span>${nomeSubsite}</span>
47 </a>
48 <#else>
49 <span>${nomeSubsite}</span>
50 </#if>
51 </#if>
52
53 </h1>
54</div>
55
56<#-- === MARCA ==== -->
57<#if hasMarca>
58 <#if hasLink>
59 <a
60 href="${urlSubsite?html}"
61 style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -30%);"
62 >
63 <img
64 src="${marcaImg}"
65 alt="${htmlUtil.escapeAttribute(marcaAlt!nomeSubsite)}"
66 data-fileentryid="${marcaId}"
67 style="max-height: 13rem;"
68 />
69 </a>
70 <#else>
71 <img
72 src="${marcaImg}"
73 alt="${htmlUtil.escapeAttribute(marcaAlt!nomeSubsite)}"
74 data-fileentryid="${marcaId}"
75 style="max-height: 13rem;"
76 />
77 </#if>
78</#if>
Embrapa & Schools is a program that integrates Embrapa and educational institutions, bringing scientists, students and teachers closer to encourage interest in scientific knowledge among the young.
These are activities that demonstrate how science is present in our everyday lives and underscore the contribution from agricultural research to national development.
Aimed at children and youths enrolled at primary and secondary school, the program creates an atmosphere for learning and awareness of the interfaces of science and technology with the agricultural sector and the environment.
In addition, it strengthens the ties between the urban and rural environments, as it guides participants on the need for environmental conservation, the importance of sustainability and practices that ensure better quality of living.
The program's team promotes activities within schools, per invitation of educational institutions or as proposed by Embrapa's research centers.
Students can visit labs, experimental fields and other facilities by scheduling a visit with the suitable Embrapa research center.