Quadros

Um erro ocorreu enquanto processava o modelo.
The following has evaluated to null or missing:
==> imgURL  [in template "10132#10165#46992517" at line 17, column 95]

----
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: ${imgURL}  [in template "10132#10165#46992517" at line 17, column 93]
----
1<div id="modelo_noticia" class="row-fluid"> 
2    #set ($qrCodeItem = $randomNamespace + "qrCodePageDocModal" ) 
3    <div id="$qrCodeItem"></div> 
4	<div class="row-fluid"> 
5	    <div class="text-center"> 
6            <blockquote class="clear-fix text-center"> 
7        	    <p class="lead">$reserved-article-title.data</p> 
8        	    <!--small>$reserved-article-description.data<br/>$reserved-article-modified-date.data</small--> 
9        	</blockquote> 
10    	</div> 
11	</div> 
12    <div class="row-fluid"> 
13        <table class="table table-striped table-hover"> 
14        	    #set ($imgURL = $Descricao.get("Foto").getData()) 
15        	    <tr><td> 
16        	    <div class="media"> 
17            		<a id="$random.nextLong()" class="thumbnail span2 pull-left " href="${imgURL}&imageThumbnail=3" > 
18            		    <img class="media-object" src="${imgURL}&imageThumbnail=3" /> 
19                    </a> 
20                    <div class="media-body"> 
21        		        <div class="span3"> 
22            		        <h4 class="media-heading"> 
23            		            <i class="icon-user">&nbsp;</i>$Descricao.get("Autor").getData()<br/> 
24            		        </h4> 
25                            #set ($dataObra = $Descricao.get("Data").getData()) 
26            		        #if (!$dataObra.empty) 
27                            <i class="icon-calendar">&nbsp;</i>$dataObra<br/> 
28                            #end 
29                            #set ($qrCodeFunction = $randomNamespace + "QRCode()") 
30                            <a href="javascript:void(0);" onclick="$qrCodeFunction"><i class="icon-qrcode">&nbsp;</i>QRCode acesso direto</a> 
31                	    </div> 
32            	        <div class="content span9"> 
33            	            <h3 class="media-heading"> 
34            	                <i class="icon-book">&nbsp;</i>Detalhes 
35            	            </h3> 
36            	            $Descricao.getData() 
37                            #set ($playerMedia = $randomNamespace + "playerMedia" ) 
38                            <div id="$playerMedia"></div> 
39            	        </div> 
40                    </div> 
41                </div> 
42                </td></tr> 
43        </table> 
44    </div> 
45</div> 
46<script type="text/javascript"> 
47    AUI().ready('aui-image-viewer-gallery', "aui-audio","liferay-preview", function(A) {   
48        var viewportRegion = A.getDoc().get('viewportRegion'); 
49	    var maxHeight = (viewportRegion.height); 
50	    var maxWidth = (viewportRegion.width); 
51        var imageGallery1 = new A.ImageGallery({   
52           links : '.thumbnail', 
53           caption : 'Imagens',   
54           autoPlay : true,   
55           paginator : {},  
56		   maxHeight : maxHeight, 
57	       maxWidth : maxWidth, 
58           delay : 5000   
59        }).render();   
60         
61        var player = new A.Audio({ 
62            contentBox:"#$playerMedia", 
63            fixedAttributes:{allowfullscreen:"true",wmode:"opaque"}, 
64            oggUrl:'$Descricao.get("Audio").getData()', 
65            url:'$Descricao.get("Audio").getData()' 
66        }).render(); 
67        //player.play(); 
68    }); 
69 
70    function $qrCodeFunction { 
71        AUI().use('aui-node', function(A) { 
72           #set ($encodedURL = $httpUtil.encodeURL($request.attributes.CURRENT_COMPLETE_URL, true) ) 
73           new A.Modal({ 
74           	headerContent: 'QRCode acesso direto <b>$reserved-article-title.data</b>', 
75            bodyContent: '<i class="icon-share">&nbsp;</i>Acessar conteúdo<br/><img src="https://chart.googleapis.com/chart?chs=200x200&cht=qr&choe=UTF-8&chl=$encodedURL"></div></div>', 
76            	destroyOnHide: true, 
77            	render: '#$qrCodeItem', 
78            	draggable: true, 
79            	resizable: true, 
80            	centered: true, 
81               modal: true 
82           }).render();	 
83       }); 
84
85</script>