Trang chủ - Xã Xy - Hướng Hóa

Có lỗi xảy ra trong quá trình xử lý biểu mẫu.
The following has evaluated to null or missing:
==> catalogue  [in template "10131#10164#861902" at line 7, column 63]

----
Tip: If the failing expression is known to be 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: articles = articleService.getArticles...  [in template "10131#10164#861902" at line 7, column 26]
	- Reached through: #assign-container  [in template "10131#10164#861902" at line 7, column 17]
----
1<!-- Tin tức - Sự kiện - QT Thumbnail --> 
2<div id="topnews" class="panel panel-default clearfix" s> 
3    <div class="row" style="display:flex;flex-wrap:wrap;margin-right:-12px;margin-left:-12px"> 
4        <div class="col-md-7"> 
5            <div id="slider1" class="sliderwrapper">     
6            <#list catalogues as catalogue> 
7                <#assign articles=articleService.getArticles( catalogue.catalogueid, organizationId, numberArticle, numberRelation) 
8                    articlesMain=articles[0] articlesRelation=articles[1]> 
9                <#list articlesMain as article> 
10                    <#if article?index == 0> 
11 
12                    <div class="contentdiv clearfix" 
13                        style="display: none; z-index: 29; opacity: 1; visibility: visible;"> 
14                        <a title="${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 95)}" 
15                            href="${freemakerUtil.getArticleDetailURL(catalogue.catalogueid, article.articleid, "chi-tiet-tin")}"> 
16                            <#if article.title_en?has_content && article.title_en?length == 1000> 
17                                    <img class="img-responsive" id="slImg0" src="/o/3cmsnew-portlet/ViewImage?imagename=${article.title_en}" 
18                                        alt="${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 95)}"> 
19                            <#else> 
20                                 
21                                <#if article.imagename?has_content && article.imagename?length != 0> 
22                                <img class="img-responsive" id="slImg0" src="/o/3cmsnew-portlet/ViewImage?imagename=${article.imagename}" 
23                                    alt="${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 95)}"> 
24                                <#else> 
25                                <img class="img-responsive" id="slImg0" src="/3cms/common/asset/thixaquangtri/ViewImage.jpg"> 
26                                </#if> 
27                            </#if> 
28                             
29                        </a> 
30                        <h3 style=" 
31                        font-size:13px !important; 
32                        margin:10px;width:92%; 
33                        font-weight:bold; 
34                        background:url(/3cms/common/asset/thixaquangtri//transparent.png) repeat-x; 
35 
36                        "> 
37                            <a style="color:white !important;"title="${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 95)}" 
38                                href="${freemakerUtil.getArticleDetailURL(catalogue.catalogueid, article.articleid, "chi-tiet-tin")}">${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 150)}</a> 
39                        </h3> 
40                    </div> 
41                    </#if> 
42 
43                </#list> 
44            </#list> 
45 
46            </div> 
47            <div id="paginate-slider1" class="pagination" style="padding-left:30%"> 
48                <a style ="margin-right:5px" href="#prev" onclick = "pre(-1)" class="prev">&nbsp;</a> 
49                <#list catalogues as catalogue> 
50 
51                        <a href="#${(catalogue?index + 1)}" class="slideup" onclick = "slider('${(catalogue?index + 1)}')"class="toc selected" rel="${(catalogue?index + 1)}">${(catalogue?index + 1)}</a>  
52                </#list> 
53                <a style ="margin-left:5px" href="#next"  onclick = "next(1)" class="next">&nbsp;</a> 
54            </div> 
55        </div> 
56        <div id="tabs" class="col-md-5 tabs ui-tabs ui-corner-all ui-widget ui-widget-content"> 
57            <ul role="tablist" 
58                class="ui-tabs-nav ui-corner-all ui-helper-reset ui-helper-clearfix ui-widget-header"> 
59            </ul> 
60            <div id="tabs-1"> 
61                <div style="width:320px; margin-right:5px; display:block; 
62                    padding:5px; 
63                    margin-top:3px; 
64                    width:auto; 
65                    height:300px; 
66                    overflow:auto;"> 
67                    <ul class="lastest-news" style="padding-left:2px;list-style-type: none;"> 
68                    <#list catalogues as catalogue>  
69                    <#assign articles=articleService.getArticles( catalogue.catalogueid, organizationId, numberArticle, numberRelation) 
70                        articlesMain=articles[0] articlesRelation=articles[1]> 
71                        <#list articlesMain as article> 
72                        <#if article?index == 0> 
73                        <li style="margin-bottom:10px;border-bottom: 1px dotted #bbdbf6"> 
74                            <a class="show " 
75                                href="${freemakerUtil.getArticleDetailURL(catalogue.catalogueid, article.articleid, "chi-tiet-tin")}" 
76                                data-content="${freemakerUtil.removeHTML(localization.getLocalization(article.summarycontent_vn, "${languageId}"), 300)}" 
77                                data-img="/o/3cmsnew-portlet/ViewImage?imagename=${article.imagename}" data-rel="block_headline_tooltip" 
78                                data-original-title="" title="">${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 95)}</a> 
79                        </li> 
80                        </#if> 
81                        </#list> 
82                    </#list> 
83                    </ul> 
84                </div> 
85            </div> 
86        </div> 
87    </div> 
88</div> 
89<script> 
90    getfirst(); 
91    slider(); 
92    var current = 1; 
93    var time; 
94 
95    function getfirst() { 
96        var a = document.getElementsByClassName("contentdiv"); 
97        var b = a[0].getElementsByTagName("h3"); 
98        b[0].style.bottom = "5%"; 
99        b[0].style.position = "absolute"; 
100        var number = document.getElementsByClassName("slideup"); 
101        a[0].style.display = "block"; 
102        number[0].style.backgroundColor = "#ccc"; 
103
104 
105    function auto() { 
106        if (current == document.getElementsByClassName("contentdiv").length) { 
107            current = 0; 
108
109        console.log(current); 
110        slider(++current); 
111
112    var n = 0; 
113 
114    function slider(n) { 
115        clearTimeout(time); 
116        var a = document.getElementsByClassName("contentdiv"); 
117        var number = document.getElementsByClassName("slideup"); 
118        if (n > 0) { 
119            for (i = 0; i < a.length; i++) { 
120                a[i].style.display = "none"; 
121                number[i].style.backgroundColor = "white"; 
122 
123
124            a[n - 1].style.display = "block"; 
125            var b = a[n - 1].getElementsByTagName("h3"); 
126            b[0].style.bottom = "5%"; 
127            b[0].style.position = "absolute"; 
128            number[n - 1].style.backgroundColor = "#ccc"; 
129            current = ++n - 1; 
130        } else { 
131            a[0].style.display = "block"; 
132            number[0].style.backgroundColor = "#ccc"; 
133
134        time = setTimeout(auto, 3000); 
135 
136
137 
138    function pre(n) { 
139        clearTimeout(time); 
140        if (current >= 2) { 
141            slider(current += n); 
142
143
144 
145    function next(n) { 
146        clearTimeout(time); 
147        if (current < document.getElementsByClassName("slideup").length) { 
148            slider(current += n); 
149
150 
151
152</script> 
153<script type="text/javascript"> 
154    $(document).ready(function($) { 
155        var jssor_1_SlideshowTransitions = [{ 
156            $Duration: 1200, 
157            y: 1, 
158            $Easing: { 
159                $Top: $Jease$.$InOutQuart, 
160                $Opacity: $Jease$.$Linear 
161            }, 
162            $Opacity: 2, 
163            $Brother: { 
164                $Duration: 1200, 
165                y: -1, 
166                $Easing: { 
167                    $Top: $Jease$.$InOutQuart, 
168                    $Opacity: $Jease$.$Linear 
169                }, 
170                $Opacity: 2 
171
172        }, { 
173            $Duration: 1200, 
174            x: 1, 
175            $Easing: { 
176                $Left: $Jease$.$InOutQuart, 
177                $Opacity: $Jease$.$Linear 
178            }, 
179            $Opacity: 2, 
180            $Brother: { 
181                $Duration: 1200, 
182                x: -1, 
183                $Easing: { 
184                    $Left: $Jease$.$InOutQuart, 
185                    $Opacity: $Jease$.$Linear 
186                }, 
187                $Opacity: 2 
188
189        }, { 
190            $Duration: 1200, 
191            y: -1, 
192            $Easing: { 
193                $Top: $Jease$.$InOutQuart, 
194                $Opacity: $Jease$.$Linear 
195            }, 
196            $Opacity: 2, 
197            $ZIndex: -10, 
198            $Brother: { 
199                $Duration: 1200, 
200                y: -1, 
201                $Easing: { 
202                    $Top: $Jease$.$InOutQuart, 
203                    $Opacity: $Jease$.$Linear 
204                }, 
205                $Opacity: 2, 
206                $ZIndex: -10, 
207                $Shift: -100 
208
209        }, { 
210            $Duration: 1200, 
211            x: 1, 
212            $Delay: 40, 
213            $Cols: 6, 
214            $Formation: $JssorSlideshowFormations$.$FormationStraight, 
215            $Easing: { 
216                $Left: $Jease$.$InOutQuart, 
217                $Opacity: $Jease$.$Linear 
218            }, 
219            $Opacity: 2, 
220            $ZIndex: -10, 
221            $Brother: { 
222                $Duration: 1200, 
223                x: 1, 
224                $Delay: 40, 
225                $Cols: 6, 
226                $Formation: $JssorSlideshowFormations$.$FormationStraight, 
227                $Easing: { 
228                    $Top: $Jease$.$InOutQuart, 
229                    $Opacity: $Jease$.$Linear 
230                }, 
231                $Opacity: 2, 
232                $ZIndex: -10, 
233                $Shift: -100 
234
235        }, ]; 
236 
237        var jssor_1_options = { 
238            $AutoPlay: true, 
239            $FillMode: 5, 
240            $SlideshowOptions: { 
241                $Class: $JssorSlideshowRunner$, 
242                $Transitions: jssor_1_SlideshowTransitions, 
243                $TransitionsOrder: 1 
244            }, 
245            $ArrowNavigatorOptions: { 
246                $Class: $JssorArrowNavigator$ 
247            }, 
248            $BulletNavigatorOptions: { 
249                $Class: $JssorBulletNavigator$ 
250
251        }; 
252 
253        var jssor_1_slider = new $JssorSlider$("jssor_2", jssor_1_options); 
254 
255        function ScaleSlider() { 
256            var refSize = jssor_1_slider.$Elmt.parentNode.clientWidth; 
257            if (refSize) { 
258                refSize = Math.min(refSize, 1366); 
259                jssor_1_slider.$ScaleWidth(refSize); 
260            } else { 
261                window.setTimeout(ScaleSlider, 30); 
262
263
264        ScaleSlider(); 
265        $(window).bind("load", ScaleSlider); 
266        $(window).bind("resize", ScaleSlider); 
267        $(window).bind("orientationchange", ScaleSlider); 
268    }); 
269</script> 
270<script> 
271</script> 
Dai hoi dang
Có lỗi xảy ra trong quá trình xử lý biểu mẫu.
The following has evaluated to null or missing:
==> catalogue  [in template "10131#10164#861914" at line 5, column 53]

----
Tip: If the failing expression is known to be 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: size = articleService.countArticles(c...  [in template "10131#10164#861914" at line 5, column 17]
	- Reached through: #assign-container  [in template "10131#10164#861914" at line 3, column 9]
----
1<#list catalogues as catalogue> 
2	 
3	<#assign 
4										 
5		size = articleService.countArticles(catalogue.catalogueid, organizationId) 
6		 
7		pageHolder = freemakerUtil.getPageHolder(size, number_page, currentPage) 
8		 
9		articles = articleService.getArticles( 
10			catalogue.catalogueid, organizationId,  
11				pageHolder.getStart(), (pageHolder.getStart() + pageHolder.getNumberObjects()), 
12					numberArticle, numberRelation) 
13		 
14		articlesMain = articles[0] 
15		articlesRelation = articles[1] 
16
17 
18        <div class="dsbv-news"> 
19            <div class="title_page_list"> 
20                <div style="display:none;"> 
21                    <ul> 
22                        <li>pageHolder.getStart() - ${pageHolder.getStart()}</li> 
23                        <li>pageHolder.getNumberObjects() - ${pageHolder.getNumberObjects() + pageHolder.getStart()}</li> 
24                        <li>numberArticle - ${numberArticle}</li> 
25                        <li>numberRelation - ${numberRelation}</li> 
26                        <ul> 
27                </div> 
28                <div class="hinhanh-heading">  
29                    <a href = ""><strong> ${ localization.getLocalization( catalogue.name_vn, "${languageId}" ) } </strong> </a> 
30                </div> 
31            </div> 
32            <b class="border_dashed "></b> 
33 
34            <div class="body-ds"> 
35                <#list articlesMain as article> 
36                    <#if article?index == 0> 
37                    <div class=" panel-default"> 
38                    <#else> 
39                    <div class=" panel-default"> 
40                    </#if> 
41                        <div class="featured"> 
42                            <div class="row"> 
43                                <#if article.imagename?has_content && article.imagename?length != 0 && article?index == 0> 
44                                <div class="col-sm-3"> 
45                                    <a href="${freemakerUtil.getArticleDetailURL(catalogue.catalogueid, article.articleid, "chi-tiet-tin")}" target="" title="${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, " ${languageId} "), 45)}" class="a_page_list"> 
46                                        <#if article.title_en?has_content && article.title_en?length != 0> 
47                                            <img src="/o/3cmsnew-portlet/ViewImage?imagename=${article.title_en}" class="imgActicle"/>  
48                                        <#else> 
49                                             
50                                            <#if article.imagename?has_content && article.imagename?length != 0> 
51                                                <img src="/o/3cmsnew-portlet/ViewImage?imagename=${article.imagename}"  class="imgActicle"/>  
52                                            <#else> 
53                                            </#if> 
54                                        </#if> 
55                                    </a> 
56                                </div> 
57                                </#if> 
58                                <#if article.imagename?has_content && article.imagename?length != 0 && article?index == 0> 
59                                    <div class="col-sm-9"> 
60                                <#else> 
61                                    <div class="col-sm-12"> 
62                                </#if>   
63                                    <a href="${freemakerUtil.getArticleDetailURL(catalogue.catalogueid, article.articleid, "chi-tiet-tin")}" target="" title="${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 45)}"> 
64                                        <#if article?index == 0> 
65                                        <h2>${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 200)}</h2> 
66                                        <#else> 
67                                        <h2 style="color:#272833 !important;margin-top:0px !important;margin-bottom:5px !important"><i class="fa fa-angle-double-right" style="padding-right:10px"></i>${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 200)}</h2> 
68                                        </#if> 
69                                    </a> 
70									<#if article?index == 0> 
71                                    <p> 
72                                        ${freemakerUtil.removeHTML(localization.getLocalization(article.summarycontent_vn, "${languageId}"), 100)} 
73                                    </p> 
74									</#if> 
75                                </div> 
76                            </div> 
77                        </div> 
78                    </div> 
79                     
80                </#list> 
81            </div> 
82        </div> 
83</#list> 
  • pageHolder.getStart() - 0
  • pageHolder.getNumberObjects() - 10
  • numberArticle - 5
  • numberRelation - 5
  • pageHolder.getStart() - 0
  • pageHolder.getNumberObjects() - 11
  • numberArticle - 6
  • numberRelation - 5
Lịch làm việc
Thông báo
Giấy mời
Hình ảnh