Poder Judiciário do Estado do Rio de Janeiro
Autofit Section
TJRJ declara inconstitucionais artigos de lei de cotas nos cargos em comissão do Município do Rio
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 84, 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 84, column 9] ----
1<style>
2 .visualizar-conteudo .portlet-content-container .slider-noticia img {
3 margin-bottom: 0;
4 }
5
6 .infoShare {
7 display: flex;
8 justify-content: space-between;
9 }
10
11 .share ul li a {
12 margin-bottom: 10px;
13 padding: 0 15px 0 5px;
14 text-decoration: none;
15 outline: none;
16 }
17
18 .share ul li a img {
19 margin: 0;
20 filter: invert(70%) sepia(67%) saturate(4757%) hue-rotate(159deg) brightness(95%) contrast(103%);
21 max-height: 20px;
22 }
23
24 .share ul li a img:hover {
25 filter: invert(92%) sepia(2%) saturate(7%) hue-rotate(140deg) brightness(97%) contrast(93%);
26 }
27
28 @media screen and (max-width: 768px){
29 .infoShare {
30 display: inline-block;
31 }
32 .share {
33 margin-top:10px;
34 }
35 }
36
37</style>
38
39<#setting locale="pt_BR">
40
41<#assign currentURL = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent()>
42
43<div class="noticia">
44 <div class="titulo portlet-title-text">
45 ${.vars['reserved-article-title'].data}
46 </div>
47
48 <div class="infoShare">
49 <#if autor.getData()?has_content>
50 <div class="autor">
51 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")}
52 </div>
53 </#if>
54 <div class="share slide-in from-left">
55 <ul class="">
56 <li class="btn-share-whatsapp">
57 <a target="_blank" href="https://wa.me/?text=${currentURL}"><img alt="Botão de Compartilhamento para o WhatsApp" height="20" width="20" src="/documents/d/global/whatsapp-brands-solid" /></a>
58 </li>
59 <li class="btn-share-facebook">
60 <a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=${currentURL}"><img alt="Botão de Compartilhamento para o Facebook" height="20" width="20" src="/documents/d/global/facebook-f-brands-solid" /></a>
61 </li>
62 <li class="btn-share-twitter">
63 <a target="_blank" href="https://x.com/intent/tweet?text=${.vars['reserved-article-title'].data}!%20${currentURL}"><img alt="Botão de Compartilhamento para o Twitter" height="20" width="20" src="/documents/d/global/x-twitter-brands-solid" /></a>
64 </li>
65 <li class="btn-share-email">
66 <a target="_blank" href="mailto:?subject=${.vars['reserved-article-title'].data}!&body=${currentURL}" target="_blank"><img alt="Botão de Compartilhamento para o E-mail" height="20" width="20" src="/documents/d/global/envelope-regular" /></a>
67 </li>
68 <li class="btn-share">
69 <a href="#" onclick="btnShare()" title="Compartilhar"><img alt="Botão de Compartilhamento Geral" height="20" width="20" src="/documents/d/global/share-nodes-solid" /></a>
70 </li>
71 </ul>
72 </div>
73 </div>
74
75 <div class="subtitulo">
76 ${subtitulo.getData()}
77 </div>
78
79 <div class="conteudo">
80 ${conteudo.getData()}
81 </div>
82
83 <#if sepFotoGaleria??>
84 <#assign itensGaleria = sepFotoGaleria.getChild("imagemGaleria").getSiblings() />
85 <#assign possuiGaleria = (itensGaleria?first).getData()?has_content />
86
87 <#if possuiGaleria>
88 <div id="noticia-galeria-wrapper">
89 <div class="titulo portlet-title-text">
90 <span>Galeria de Imagens</span>
91 </div>
92 <div id="noticiaGaleria" class="slider-noticia">
93 <#list itensGaleria as itemGaleria>
94 <#attempt>
95 <div class="slide">
96 <a href="${itemGaleria.getData()}" data-fileentryid='${itemGaleria.getAttribute("fileEntryId")}' title='${itemGaleria.getAttribute("alt")}' data-naodesativarclick='true'>
97 <img src="${itemGaleria.getData()}&imageThumbnail=1" alt='${itemGaleria.getAttribute("alt")}'>
98 </a>
99 </div>
100 <#recover>
101 <!-- Nao foi possivel carregar imagem da galeria: ${.error} -->
102 </#attempt>
103 </#list>
104 </div>
105 </div>
106
107 <script>
108 AUI().ready('aui-image-viewer', function(A) {
109 var viewportRegion = A.getDoc().get('viewportRegion');
110
111 var maxHeight = (viewportRegion.height);
112 var maxWidth = (viewportRegion.width);
113
114 var playingMediaIndex = -1;
115
116
117 $(".slider-noticia").bxSlider({
118 pager: false,
119 minSlides: 1,
120 maxSlides: 5,
121 slideMargin: 19,
122 slideWidth: 201,
123 adaptiveHeight: true
124 });
125
126
127 var imageViewer = new A.ImageViewer(
128 {
129 delay: 5000,
130 links: '#noticiaGaleria :not(.bx-clone) a',
131 infoTemplate: 'Imagem {current} de {total}',
132 maxHeight: maxHeight,
133 maxWidth: maxWidth,
134 captionFromTitle: true,
135 playing: false,
136 preloadAllImages: true,
137 preloadNeighborImages: true,
138 showInfo: true,
139 showPlayer: true,
140 zIndex: ++Liferay.zIndex.WINDOW
141 }).render();
142 });
143
144 </script>
145 </#if>
146 </#if>
147
148 <script>
149 //funcionamento do botão btn-share com uma WEB API
150 function btnShare() {
151 navigator.share({url: "${currentURL}"});
152 }
153 </script>
154
155</div>
156
157<div class="button-wrapper voltar">
158 <button type="button" class="btn btn-amarelo" onclick="history.go(-1);" title="Voltar para a página anterior">Voltar</button>
159</div>