Bloco 2 – Microbiologia, Biologia Molecular e Fitoquímica - Embrapa Agrossilvipastoril
Um erro ocorreu enquanto processava o modelo.
The following has evaluated to null or missing: ==> imagem.imagemAdicional [in template "10154#10192#19853530" at line 31, column 56] ---- 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: ${imagem.imagemAdicional.getData()} [in template "10154#10192#19853530" at line 31, column 54] ----
1<style>
2 .swiper {
3 width: 100%;
4 height: 100%;
5 }
6
7 .swiper-slide {
8 text-align: center;
9 font-size: 18px;
10 display: flex;
11 justify-content: center;
12 align-items: center;
13 }
14
15 .swiper-slide img {
16 display: block;
17 width: 100%;
18 height: 100%;
19 object-fit: cover;
20 }
21
22</style>
23</head>
24
25 <!-- Swiper -->
26 <div class="swiper mySwiper">
27 <div class="swiper-wrapper">
28 <#list exibirimagemFieldSet.getSiblings() as imagem>
29 <div class="swiper-slide embrapa_community_gallery_images_item data-swiper-autoplay="3000">
30 <div class="swiper-slide-container">
31 <img src="${imagem.imagemAdicional.getData()}" title="${imagem.imagemFonte.getData()} - Foto: ${imagem.imagemLegenda.getData()}" alt="${imagem.imagemFonte.getData()} - Foto: ${imagem.imagemLegenda.getData()}">
32 </div>
33 </div>
34 </#list>
35
36 </div>
37 <div class="swiper-button-next"></div>
38 <div class="swiper-button-prev"></div>
39 </div>
40
41 <script>
42 var swiper = new Swiper(".mySwiper", {
43
44 slidesPerView: 3,
45 spaceBetween: 30,
46 autoplay: {delay: 3000},
47 navigation: {
48 nextEl: ".swiper-button-next",
49 prevEl: ".swiper-button-prev",
50 },
51 });
52 </script>