Poder Judiciário do Estado do Rio de Janeiro
Autofit Section
Quatro acusados de atearem fogo no ônibus 350 vão a júri popular
Um erro ocorreu enquanto processava o modelo.
The following has evaluated to null or missing: ==> sepFotoGaleria.getChild("imagemGaleria") [in template "10112#156075#5110204" at line 23, column 33] ---- 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: #assign itensGaleria = sepFotoGaleria... [in template "10112#156075#5110204" at line 23, column 9] ----
1<#setting locale="pt_BR">
2
3<div class="noticia">
4 <div class="titulo portlet-title-text">
5 ${.vars['reserved-article-title'].data}
6 </div>
7
8 <#if autor.getData()?has_content>
9 <div class="autor">
10 Notícia publicada por <span class="nome">${autor.getData()}</span> em ${.vars['reserved-article-display-date'].data?datetime("EEE, d MMM yyyy HH:mm:ss Z")?string("dd/MM/yyyy HH:mm")}
11 </div>
12 </#if>
13
14 <div class="subtitulo">
15 ${subtitulo.getData()}
16 </div>
17
18 <div class="conteudo">
19 ${conteudo.getData()}
20 </div>
21
22 <#if sepFotoGaleria??>
23 <#assign itensGaleria = sepFotoGaleria.getChild("imagemGaleria").getSiblings() />
24 <#assign possuiGaleria = (itensGaleria?first).getData()?has_content />
25
26 <#if possuiGaleria>
27 <div id="noticia-galeria-wrapper">
28 <div class="titulo portlet-title-text">
29 <span>Galeria de Imagens</span>
30 </div>
31 <div id="noticiaGaleria" class="slider-noticia">
32 <#list itensGaleria as itemGaleria>
33 <#attempt>
34 <div class="slide">
35 <a href="${itemGaleria.getData()}" data-fileentryid='${itemGaleria.getAttribute("fileEntryId")}' title='${itemGaleria.getAttribute("alt")}' data-naodesativarclick='true'>
36 <img src="${itemGaleria.getData()}&imageThumbnail=1" alt='${itemGaleria.getAttribute("alt")}'>
37 </a>
38 </div>
39 <#recover>
40 <!-- Nao foi possivel carregar imagem da galeria: ${.error} -->
41 </#attempt>
42 </#list>
43 </div>
44 </div>
45
46 <style>
47 .visualizar-conteudo .portlet-content-container .slider-noticia img {
48 margin-bottom: 0;
49 }
50 </style>
51
52 <script>
53 AUI().ready('aui-image-viewer', function(A) {
54 var viewportRegion = A.getDoc().get('viewportRegion');
55
56 var maxHeight = (viewportRegion.height);
57 var maxWidth = (viewportRegion.width);
58
59 var playingMediaIndex = -1;
60
61
62 $(".slider-noticia").bxSlider({
63 pager: false,
64 minSlides: 1,
65 maxSlides: 5,
66 slideMargin: 19,
67 slideWidth: 201,
68 adaptiveHeight: true
69 });
70
71
72 var imageViewer = new A.ImageViewer(
73 {
74 delay: 5000,
75 links: '#noticiaGaleria :not(.bx-clone) a',
76 infoTemplate: 'Imagem {current} de {total}',
77 maxHeight: maxHeight,
78 maxWidth: maxWidth,
79 captionFromTitle: true,
80 playing: false,
81 preloadAllImages: true,
82 preloadNeighborImages: true,
83 showInfo: true,
84 showPlayer: true,
85 zIndex: ++Liferay.zIndex.WINDOW
86 }).render();
87 });
88
89 </script>
90 </#if>
91 </#if>
92</div>
93
94<div class="button-wrapper voltar">
95 <button type="button" class="btn btn-amarelo" onclick="history.go(-1);" title="Voltar para a página anterior">Voltar</button>
96</div>