Consumer Price Index August 2017
Economic StatisticsConsumer Price Index August 2017
Economic StatisticsAgriculture Producer Price Index July 2017
Economic StatisticsAgriculture Producer Price Index July 2017
Economic StatisticsAgriculture Producer Price Index July 2017
Economic StatisticsAgriculture Producer Price Index June 2017
Economic StatisticsAgriculture Producer Price Index June 2017
Economic StatisticsAgriculture Producer Price Index June 2017
Economic StatisticsTransport Statistics 2016
Industry & BusinessTransport Statistics 2016
Industry & BusinessThe following has evaluated to null or missing:
==> themePoster [in template "20098#20124#628620" at line 73, column 87]
----
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: ${themePoster} [in template "20098#20124#628620" at line 73, column 85]
----
1<#assign
2 JournalArticleLocalService=serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
3 <#assign
4 dlFileEntryService=serviceLocator.findService('com.liferay.document.library.kernel.service.DLFileEntryService')>
5 <#assign
6 assetVocabularyLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") />
7
8 <#assign
9 journalArticleResourceLocalServiceUtil=serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
10 <#assign
11 assetCategoryLocalServiceUtil=staticUtil["com.liferay.asset.kernel.service.AssetCategoryLocalServiceUtil"]>
12 <#assign
13 dlAppLocalServiceUtil=staticUtil["com.liferay.document.library.kernel.service.DLAppLocalServiceUtil"] />
14 <#assign dlUtil=staticUtil["com.liferay.document.library.kernel.util.DLUtil"]>
15 <#assign
16 serviceContext=staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()>
17 <#assign themeDisplay=serviceContext.getThemeDisplay() />
18 <#assign
19 journalarticleLocalService=serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
20
21 <#assign
22 statisticVocabulary=assetVocabularyLocalService.getGroupVocabulary(groupId?long,"statistics") />
23 <#assign journalArticleId=.vars['reserved-article-id'].data />
24 <#assign stat=journalarticleLocalService.getArticle(themeDisplay.getScopeGroupId()
25 ,journalArticleId) />
26 <#assign
27 assetCategoryPropService=serviceLocator.findService("com.liferay.asset.category.property.service.AssetCategoryPropertyLocalService") />
28 <#assign journalArticleTitle=.vars['reserved-article-title'].data />
29
30<#assign journalArticlele = JournalArticleLocalService.getArticle(groupId, .vars["reserved-article-id"].data) />
31<#assign journalArticleDisplayDate = journalArticlele.getExpandoBridge().getAttribute("UIIssueDate")/>
32 <#assign
33 articleResourcePK=stat.resourcePrimKey?long
34
35 />
36
37
38 <#assign
39 categoryList=assetCategoryLocalServiceUtil.getCategories("com.liferay.journal.model.JournalArticle",articleResourcePK)>
40 <#assign themeColor="d29c4b"
41 imgUrl="${themeDisplay.getPathThemeImages()}/publications/005.jpg"
42 categoryDisplay="Economic" />
43
44 <#if (categoryList?size > 0)>
45 <#list categoryList as category>
46 <#if category.parentCategoryId==0>
47 <#if category.getVocabularyId()==statisticVocabulary.getVocabularyId()>
48 <#assign assetThemeCategoryId=category.categoryId?long />
49 <#assign
50 themePoster=assetCategoryPropService.getCategoryProperty(assetThemeCategoryId,"theme-poster").getValue()
51 themeColor=assetCategoryPropService.getCategoryProperty(assetThemeCategoryId,"theme_color").getValue()
52 themeIconId=assetCategoryPropService.getCategoryProperty(assetThemeCategoryId,"theme_icon_id").getValue()
53 themeImgId=assetCategoryPropService.getCategoryProperty(assetThemeCategoryId,"portfolio-image").getValue() />
54
55 <#if themeImgId!="0">
56 <#assign imgDlFile=dlAppLocalServiceUtil.getFileEntry(themeImgId?number)
57 imgUrl=dlUtil.getPreviewURL(imgDlFile, imgDlFile.getFileVersion(),
58 themeDisplay, '' ) />
59 </#if>
60 <#list category.name?split(" ") as catWords>
61 <#assign categoryDisplay = catWords/>
62 <#break>
63 </#list>
64 <#assign categoryDisplay = category.titleCurrentValue/>
65 </#if>
66 </#if>
67 </#list>
68 </#if>
69
70
71
72 <div class="dl-card latest-publications-card dl-rounded d-flex flex-column align-items-start justify-content-between text-white p-3"
73 style="background: linear-gradient(transparent,#000000d4 ),url(/documents/d/guest/${themePoster}) no-repeat center/cover;">
74 <div class="button-wrapper d-inline-block align-self-end"><button class="hover-button btn dl-share-btn mb-0"><img
75 src="/documents/d/guest/share" height="20"></button>
76 <ul class="hidden-buttons list-unstyled">
77 <li><a target="_blank"
78 href="https://www.facebook.com/sharer.php?u=https://uat.scad.gov.ae/w/${.vars['reserved-article-url-title'].data}"><i
79 class="icon-facebook"></i></a></li>
80 <li><a target="_blank"
81 href="https://twitter.com/intent/tweet?url=https://uat.scad.gov.ae/w/${.vars['reserved-article-url-title'].data}"><i
82 class="icon-twitter"></i></a></li>
83 </ul>
84 </div>
85 <div class="w-100">
86 <h5><a class="text-white" href="/w/${.vars['reserved-article-url-title'].data}">${journalArticleTitle}</a></h5><span
87 class="theme-category p-2 badge" style="background: #${themeColor}">${categoryDisplay}</span>
88 <ul class="d-flex justify-content-end attachments-list px-0 mb-0 mt-3 w-100">
89 <#if file_upload.getSiblings()?has_content>
90 <#list file_upload.getSiblings() as media>
91 <#if media?has_content>
92 <#assign counter=0>
93 <#list "${media.getData()}" ?split("/") as
94 mediaDataSplit>
95 <#if counter==5>
96 <#list mediaDataSplit?split("?") as
97 uuId>
98 <#assign uuid=uuId />
99 <#break>
100 </#list>
101 </#if>
102 <#assign counter=counter+1>
103 </#list>
104 <#if uuid?? && groupId??>
105 <#assign
106 file=dlFileEntryService.getFileEntryByUuidAndGroupId(uuid,groupId)>
107 <#assign
108 fileExtension=file.extension>
109 <#if fileExtension=="">
110 <#list "${file.fileName}"
111 ?split(".") as
112 extention>
113 <#if extention?is_last>
114 <#assign
115 fileExtension=extention>
116 <#break>
117 </#if>
118 </#list>
119 </#if>
120 <#if
121 media.getData()?has_content>
122 <a class="dl-attachment-circle mr-2"
123 href="${media.getData()}"
124 target="blank">
125 <#if fileExtension=="pdf"
126 ||
127 fileExtension=="PDF">
128 <li
129 class="list-item list-inline-item d-flex">
130 <img src=${themeDisplay.getPathThemeImages()}/publications/pdf-svgrepo-com.svg
131 height="20" />
132 </li>
133
134 <#elseif fileExtension=="xls"
135 ||
136 fileExtension=="XLS"
137 ||
138 fileExtension=="xlsx"
139 ||
140 fileExtension=="XLSX">
141 <li
142 class="list-item list-inline-item d-flex">
143 <img src=${themeDisplay.getPathThemeImages()}/publications/excel-svgrepo-com.svg
144 height="20" />
145 </li>
146 <#else>
147 <li
148 class="list-item list-inline-item d-flex">
149 <i class="icon-file"></i>
150 </li>
151
152 </#if>
153 </a>
154 </#if>
155 </#if>
156 </#if>
157 </#list>
158 </#if>
159
160 </ul>
161 </div>
162</div>
Building Completion Statistics-Quarterly Second quarter 2017
Industry & BusinessBuilding Completion Statistics-Quarterly Second quarter 2017
Industry & BusinessBuilding Completion Statistics Second quarter 2017
Industry & BusinessBank Statistics-Quarterly Second quarter 2017
Economic StatisticsBank Statistics-Quarterly Second quarter 2017
Economic StatisticsBanks Statistics Second quarter 2017
Industry & BusinessLivestock Statistics 2015
Agriculture & EnvironmentLivestock Statistics 2015
Agriculture & EnvironmentLivestock Statistics 2015
Agriculture & EnvironmentEmirati Women Between Yesterday And Today 2017
General StatisticsEmirati Women Between Yesterday And Today 2017
General StatisticsEmirati Women Between Yesterday And Today 2017
General StatisticsBuilding Materials Price Statistics July 2017
Economic StatisticsBuilding Materials Price Statistics July 2017
Economic StatisticsBuilding Materials Price Statistics July 2017
Economic StatisticsConsumer Price Index July 2017
Economic StatisticsConsumer Price Index July 2017
Economic StatisticsConsumer Price Index July 2017
Economic StatisticsStatistics of Non Profit Institutions Serving Households 2016
Economic StatisticsStatistics of Non Profit Institutions Serving Households 2016
Economic StatisticsStatistics of Non Profit Institutions Serving Households 2016
Economic StatisticsHotel Statistics-Monthly 2016
Industry & BusinessHotel Statistics-Monthly 2016
Industry & BusinessHotel Establishments Statistics 2016
Industry & BusinessAgricultural Land Use Statistics 2016
Agriculture & EnvironmentAgricultural Land Use Statistics 2016
Agriculture & EnvironmentAgricultural Land Use Statistics 2016
Agriculture & EnvironmentWaste Statistics-Annually 2016
Agriculture & EnvironmentWaste Statistics 2016
Agriculture & EnvironmentConsumer Price Index August 2017
Consumer Price Index August 2017
Agriculture Producer Price Index July 2017
Agriculture Producer Price Index July 2017
Agriculture Producer Price Index July 2017
Agriculture Producer Price Index June 2017
Agriculture Producer Price Index June 2017
Agriculture Producer Price Index June 2017
Transport Statistics 2016
Transport Statistics 2016
The following has evaluated to null or missing:
==> themeIconId [in template "20098#20124#1093349" at line 58, column 60]
----
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: ${themeIconId} [in template "20098#20124#1093349" at line 58, column 58]
----
1<#assign catLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")
2 JournalArticleService=serviceLocator.findService("com.liferay.journal.service.JournalArticleResourceLocalService")
3 resourcePrimKey=JournalArticleService.getArticleResourcePrimKey(groupId, .vars['reserved-article-id'].data)
4 articleCatNames=catLocalService.getCategories("com.liferay.journal.model.JournalArticle", resourcePrimKey)
5 dlFileEntryService=serviceLocator.findService('com.liferay.document.library.kernel.service.DLFileEntryService')
6 assetVocabularyLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService")
7 dlAppLocalServiceUtil=staticUtil["com.liferay.document.library.kernel.service.DLAppLocalServiceUtil"]
8 dlUtil=staticUtil["com.liferay.document.library.kernel.util.DLUtil"]
9 statisticVocabulary=assetVocabularyLocalService.getGroupVocabulary(groupId?long,"statistics")
10 assetCategoryPropService=serviceLocator.findService("com.liferay.asset.category.property.service.AssetCategoryPropertyLocalService") />
11 <#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
12
13<#assign journalArticleTitle=.vars['reserved-article-title'].data />
14
15<#assign journalArticlele = JournalArticleLocalService.getArticle(groupId, .vars["reserved-article-id"].data) />
16<#assign journalArticleDisplayDate = journalArticlele.getExpandoBridge().getAttribute("UIIssueDate")/>
17
18
19
20
21
22<#assign themeColor="d29c4b" imgUrl="${themeDisplay.getPathThemeImages()}/publications/005.jpg"
23 categoryDisplay="Economic" />
24<#if (articleCatNames?size > 0)>
25 <#list articleCatNames as category>
26 <#if category.parentCategoryId==0>
27 <#if category.getVocabularyId()==statisticVocabulary.getVocabularyId()>
28 <#assign assetThemeCategoryId=category.categoryId?long />
29 <#assign
30 themeColor=assetCategoryPropService.getCategoryProperty(assetThemeCategoryId,"theme_color").getValue()
31 themeIconId=assetCategoryPropService.getCategoryProperty(assetThemeCategoryId,"theme_icon_id").getValue()
32 themeImgId=assetCategoryPropService.getCategoryProperty(assetThemeCategoryId,"portfolio-image").getValue() />
33
34 <#if themeImgId!="0">
35 <#assign imgDlFile=dlAppLocalServiceUtil.getFileEntry(themeImgId?number)
36 imgUrl=dlUtil.getPreviewURL(imgDlFile, imgDlFile.getFileVersion(), themeDisplay, '' ) />
37 </#if>
38 <#list category.name?split(" ") as catWords>
39 <#assign categoryDisplay = catWords/>
40 <#break>
41 </#list>
42 <#assign categoryDisplay = category.titleCurrentValue/>
43 </#if>
44 </#if>
45 </#list>
46
47 </#if>
48
49
50<#if file_upload.getSiblings()?has_content>
51
52 <#list file_upload.getSiblings() as medias>
53
54 <div class=" row mb-3 mx-0 bg-white d-flex w-100 align-items-center h-100 border rounded">
55 <div class="col-lg-1 p-0 ">
56 <div class="icon d-flex text-center p-1" style="background: #eee">
57 <div class="align-self-center mx-auto d-flex flex-column">
58 <img src="/documents/d/guest/${themeIconId}" height="30">
59 <label class="small mx-auto mb-0" style="color: #${themeColor} ;">
60 ${categoryDisplay}
61 </label>
62 </div>
63 </div>
64 </div>
65
66 <div class="col-8">
67 <p class="mb-0 py-3 publication-p">${journalArticleTitle}</p>
68 </div>
69
70 <div class="col-3 d-flex align-items-center justify-content-end">
71
72 <div class="my-2 right-icons d-flex align-items-center ">
73 <#if file_upload.getSiblings()?has_content>
74 <#list file_upload.getSiblings() as media>
75 <#if media.getData()?has_content>
76
77 <#assign counter=0>
78 <#list "${media.getData()}" ?split("/") as mediaDataSplit>
79 <#if counter==5>
80 <#list mediaDataSplit?split("?") as uuId>
81 <#assign uuid=uuId />
82 <#break>
83 </#list>
84 </#if>
85 <#assign counter=counter+1>
86 </#list>
87 <#if uuid??>
88 <#assign file=dlFileEntryService.getFileEntryByUuidAndGroupId(uuid,groupId)>
89 <#assign fileExtension=file.extension>
90 <#if fileExtension=="">
91 <#list "${file.fileName}" ?split(".") as extention>
92 <#if extention?is_last>
93 <#assign fileExtension=extention>
94 <#break>
95 </#if>
96 </#list>
97 </#if>
98 <#if media.getData()?has_content>
99
100
101 <#if fileExtension=="pdf" || fileExtension=="PDF">
102 <a class="ml-2" href="${media.getData()}" target="blank"
103 style="order:1">
104 <li class="list-item list-inline-item d-flex">
105 <img src=${themeDisplay.getPathThemeImages()}/publications/pdf-svgrepo-com.svg
106 class="d-flex mx-auto align-self-center" />
107 </li>
108 </a>
109
110 <#elseif fileExtension=="xls" || fileExtension=="XLS" ||
111 fileExtension=="xlsx" || fileExtension=="XLSX">
112 <a class="ml-2" href="${media.getData()}" target="blank"
113 style="order:2">
114 <li class="list-item list-inline-item d-flex">
115 <img src=${themeDisplay.getPathThemeImages()}/publications/excel-svgrepo-com.svg
116 class="d-flex mx-auto align-self-center" />
117 </li>
118 </a>
119
120 <#else>
121
122 <a class="ml-2" href="${media.getData()}" target="blank"
123 style="order:3">
124 <li class="list-item list-inline-item d-flex">
125 <i class="icon-file" style="font-size:27px"></i>
126 </li>
127 </a>
128
129 </#if>
130
131
132 </#if>
133 </#if>
134 </#if>
135 </#list>
136 </#if>
137 </div>
138 </div>
139 </div>
140
141
142
143<#break>
144
145
146</#list>
147</#if>
Building Completion Statistics-Quarterly Second quarter 2017
Building Completion Statistics-Quarterly Second quarter 2017
Building Completion Statistics Second quarter 2017
Bank Statistics-Quarterly Second quarter 2017
Bank Statistics-Quarterly Second quarter 2017
Banks Statistics Second quarter 2017
Livestock Statistics 2015
Livestock Statistics 2015
Livestock Statistics 2015
Emirati Women Between Yesterday And Today 2017
Emirati Women Between Yesterday And Today 2017
Emirati Women Between Yesterday And Today 2017
Building Materials Price Statistics July 2017
Building Materials Price Statistics July 2017
Building Materials Price Statistics July 2017
Consumer Price Index July 2017
Consumer Price Index July 2017
Consumer Price Index July 2017
Statistics of Non Profit Institutions Serving Households 2016
Statistics of Non Profit Institutions Serving Households 2016
Statistics of Non Profit Institutions Serving Households 2016
Hotel Statistics-Monthly 2016
Hotel Statistics-Monthly 2016
Hotel Establishments Statistics 2016
Agricultural Land Use Statistics 2016
Agricultural Land Use Statistics 2016
Agricultural Land Use Statistics 2016
Waste Statistics-Annually 2016
Waste Statistics 2016
Did you find this content useful?
Share your feedback with us so we can improve your experience.