COVID-19 related Measures - RBI - Reserve Bank of India
An error occurred while processing the template.
Java method "com.liferay.portal.kernel.util.DateUtil_IW.parseDate(String, String, Locale)" threw an exception when invoked on com.liferay.portal.kernel.util.DateUtil_IW object "com.liferay.portal.kernel.util.DateUtil_IW@6cd2271a"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign contentPublishDate_DateObj = ... [in template "20099#20125#71664628" at line 356, column 81] ----
1<#assign groupId=themeDisplay.getScopeGroupId() sectionMap="" redirectCategoryId="" pdfUUID="" fileSize="" pdfURL=""
2 SectionDocUUID="" secionDocURL="" sectionDocSize="" SectionExcelUUID="" secionExcelURL="" secexlFID="" FID="" secFID="" sectionExcelSize=""
3 zipUUID="" zipURL="" zipFileSize="" />
4<#assign AssetEntryLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")
5 DlFileEntryLocalService=serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")
6 AssetCategoryLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")
7 AssetVocabularyLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService")
8 journalArticleLocalService=serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
9 article=journalArticleLocalService.getArticle(getterUtil.getLong(groupId),.vars['reserved-article-id'].data)
10 />
11
12<#assign PDFURL=article.getExpandoBridge().getAttribute("pdf-url") />
13<#if PDFURL?has_content>
14 <#list PDFURL?keys as key>
15 <#if key==locale>
16 <#assign pdfURL=PDFURL?values[key_index] />
17 </#if>
18 </#list>
19</#if>
20<!--<#if pdfURL?has_content>
21 <#list pdfURL?split("/") as sValue>
22 <#if sValue?is_last>
23 <#list sValue?split("?") as uuid>
24 <#if uuid?is_first>
25 <#assign pdfUUID=uuid />
26 </#if>
27 </#list>
28 </#if>
29 </#list>
30</#if>-->
31
32<#if pdfURL?has_content>
33
34 <#if pdfURL?contains("fileEntryId")>
35
36 <#list pdfURL?split("?") as sValue>
37 <#if sValue?is_last>
38
39 <#list sValue?split("=") as fid>
40
41 <#if fid?is_last>
42
43 <#assign FID=fid />
44 </#if>
45 </#list>
46 </#if>
47 </#list>
48
49
50 <#else>
51
52 <#list pdfURL?split("/") as sValue>
53 <#if sValue?is_last>
54 <#list sValue?split("?") as uuid>
55 <#if uuid?is_first>
56 <#assign UUID=uuid />
57 </#if>
58 </#list>
59 </#if>
60 </#list>
61 </#if>
62 </#if>
63
64<!--<#if pdfUUID?has_content>
65 <#attempt>
66 <#assign dlFileEntry=DlFileEntryLocalService.fetchFileEntry(pdfUUID,groupId?number)
67 pdfFileSize=dlFileEntry.getSize()
68 fileAssetEntry=AssetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",
69 dlFileEntry.getFileEntryId()) pdfURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay)
70 pdfURL=pdfURL?replace("/"+pdfUUID,"") />
71 <#recover>
72 </#attempt>
73</#if>-->
74
75<#if pdfUUID?has_content || FID?has_content>
76
77
78 <#attempt>
79
80 <#if FID?has_content>
81 <#assign dlFileEntry=DlFileEntryLocalService.fetchDLFileEntry(FID?number) />
82 <#else>
83 <#assign dlFileEntry=DlFileEntryLocalService.fetchFileEntry(pdfUUID,groupId?number)
84 fileAssetEntry=AssetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",
85 dlFileEntry.getFileEntryId())/>
86 </#if>
87 <#assign pdfFileSize=dlFileEntry.getSize()/>
88
89 <#if pdfUUID?has_content>
90 <#assign pdfURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay)/>
91 <#assign pdfURL=pdfURL?replace("/"+pdfUUID,"") />
92 </#if>
93 <#recover>
94 </#attempt>
95 </#if>
96
97
98
99
100<#assign sectionDoc=article.getExpandoBridge().getAttribute("doc-url") />
101<#if sectionDoc?has_content>
102 <#list sectionDoc?keys as key>
103 <#if key==locale>
104 <#assign secionDocURL=sectionDoc?values[key_index] />
105 </#if>
106 </#list>
107</#if>
108
109
110
111
112<!--<#if secionDocURL?has_content>
113 <#list secionDocURL?split("/") as sValue>
114 <#if sValue?is_last>
115 <#list sValue?split("?") as uuid>
116 <#if uuid?is_first>
117 <#assign SectionDocUUID=uuid />
118 </#if>
119 </#list>
120 </#if>
121 </#list>
122</#if>-->
123
124<#if secionDocURL?has_content>
125
126 <#if secionDocURL?contains("fileEntryId")>
127
128 <#list secionDocURL?split("?") as sValue>
129 <#if sValue?is_last>
130
131 <#list sValue?split("=") as fid>
132
133 <#if fid?is_last>
134
135 <#assign secFID=fid />
136 </#if>
137 </#list>
138 </#if>
139 </#list>
140
141
142 <#else>
143
144 <#list secionDocURL?split("/") as sValue>
145 <#if sValue?is_last>
146 <#list sValue?split("?") as uuid>
147 <#if uuid?is_first>
148 <#assign SectionDocUUID=uuid />
149 </#if>
150 </#list>
151 </#if>
152 </#list>
153 </#if>
154 </#if>
155
156
157<!--<#if SectionDocUUID?has_content>
158 <#attempt>
159 <#assign DLDocFileEntry=DlFileEntryLocalService.fetchFileEntry(SectionDocUUID,groupId?number)
160 sectionDocSize=DLDocFileEntry.getSize()
161 fileAssetEntry=AssetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",DLDocFileEntry.getFileEntryId())
162 secionDocURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay)
163 secionDocURL=secionDocURL?replace("/"+SectionDocUUID,"") />
164 <#recover>
165 </#attempt>
166</#if>-->
167
168<#if SectionDocUUID?has_content || secFID?has_content>
169
170
171 <#attempt>
172
173 <#if secFID?has_content>
174 <#assign dlFileEntry=DlFileEntryLocalService.fetchDLFileEntry(secFID?number) />
175 <#else>
176 <#assign dlFileEntry=DlFileEntryLocalService.fetchFileEntry(SectionDocUUID,groupId?number)
177 fileAssetEntry=AssetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",
178 dlFileEntry.getFileEntryId())/>
179 </#if>
180 <#assign sectionDocSize=dlFileEntry.getSize()/>
181
182 <#if SectionDocUUID?has_content>
183 <#assign secionDocURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay)/>
184 <#assign secionDocURL=secionDocURL?replace("/"+SectionDocUUID,"") />
185 </#if>
186 <#recover>
187 </#attempt>
188 </#if>
189
190
191<#assign sectionExcel=article.getExpandoBridge().getAttribute("excel-url") />
192<#if sectionExcel?has_content>
193 <#list sectionExcel?keys as key>
194 <#if key==locale>
195 <#assign secionExcelURL=sectionExcel?values[key_index] />
196 </#if>
197 </#list>
198</#if>
199
200<!--<#if secionExcelURL?has_content>
201 <#list secionExcelURL?split("/") as sValue>
202 <#if sValue?is_last>
203 <#list sValue?split("?") as uuid>
204 <#if uuid?is_first>
205 <#assign SectionExcelUUID=uuid />
206 </#if>
207 </#list>
208 </#if>
209 </#list>
210</#if>-->
211
212<#if secionExcelURL?has_content>
213
214 <#if secionExcelURL?contains("fileEntryId")>
215
216 <#list secionExcelURL?split("?") as sValue>
217 <#if sValue?is_last>
218
219 <#list sValue?split("=") as fid>
220
221 <#if fid?is_last>
222
223 <#assign secexlFID=fid />
224 </#if>
225 </#list>
226 </#if>
227 </#list>
228
229
230 <#else>
231
232 <#list secionExcelURL?split("/") as sValue>
233 <#if sValue?is_last>
234 <#list sValue?split("?") as uuid>
235 <#if uuid?is_first>
236 <#assign SectionExcelUUID=uuid />
237 </#if>
238 </#list>
239 </#if>
240 </#list>
241 </#if>
242 </#if>
243
244
245
246<!--<#if SectionExcelUUID?has_content>
247 <#attempt>
248 <#assign DLExcelFileEntry=DlFileEntryLocalService.fetchFileEntry(SectionExcelUUID,groupId?number)
249 sectionExcelSize=DLExcelFileEntry.getSize()
250 fileAssetEntry=AssetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",DLExcelFileEntry.getFileEntryId())
251 secionExcelURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay) />
252 secionExcelURL=secionExcelURL?replace("/"+SectionExcelUUID,"")
253 <#recover>
254 </#attempt>
255</#if>-->
256
257<#if SectionExcelUUID?has_content || secexlFID?has_content>
258
259
260 <#attempt>
261
262 <#if secexlFID?has_content>
263 <#assign dlFileEntry=DlFileEntryLocalService.fetchDLFileEntry(secexlFID?number) />
264 <#else>
265 <#assign dlFileEntry=DlFileEntryLocalService.fetchFileEntry(SectionExcelUUID,groupId?number)
266 fileAssetEntry=AssetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",
267 dlFileEntry.getFileEntryId())/>
268 </#if>
269 <#assign sectionExcelSize=dlFileEntry.getSize()/>
270
271 <#if SectionExcelUUID?has_content>
272 <#assign secionExcelURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay)/>
273 <#assign secionExcelURL=secionExcelURL?replace("/"+SectionExcelUUID,"") />
274 </#if>
275 <#recover>
276 </#attempt>
277 </#if>
278
279
280<#if article.getExpandoBridge().getAttribute("zip-url")??>
281 <#assign zipData=article.getExpandoBridge().getAttribute("zip-url") />
282
283</#if>
284
285<#if zipData?has_content>
286
287 <#list zipData?keys as key>
288 <#if key==locale>
289 <#assign zipURL=zipData?values[key_index] />
290 </#if>
291 </#list>
292</#if>
293<#if zipURL?has_content>
294 <#list zipURL?split("/") as sValue>
295 <#if sValue?is_last>
296 <#list sValue?split("?") as uuid>
297 <#if uuid?is_first>
298 <#assign zipUUID=uuid />
299 </#if>
300 </#list>
301 </#if>
302 </#list>
303</#if>
304
305<#if zipUUID?has_content>
306 <#attempt>
307 <#assign dlFileEntry=DlFileEntryLocalService.fetchFileEntry(zipUUID,groupId?number)
308 zipFileSize=dlFileEntry.getSize()
309 fileAssetEntry=AssetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",
310 dlFileEntry.getFileEntryId()) zipURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay)
311 zipURL=zipURL?replace("/"+zipUUID,"") />
312
313 <#recover>
314 </#attempt>
315</#if>
316
317<input type="hidden" value="${sectionMap}" id="detail-section" />
318<div class="rbi-breadcrumbs-wrap rbi-simple-breadcrumbs-wrapper final-one full-width">
319 <div class="container">
320 <nav>
321 <ol class="breadcrumb rbi-simple-breadcrumbs">
322 <li class="breadcrumb-item">
323 <a href="/web/rbi/home">
324 ${languageUtil.get(locale, "home")}
325 </a>
326 </li>
327
328 <li class="breadcrumb-item active" aria-current="page">
329
330 <#if (indexTitle.getData())?? >
331 ${indexTitle.getData()}
332 <#else>
333 ${.vars['reserved-article-title'].data}
334 </#if>
335 </li>
336 </ol>
337 </nav>
338 </div>
339</div>
340<div id="articleUniqueID" class="hide">id</div>
341<div id="mainContent">
342 <div class="container pl-0 pr-0 dynamic-resize" id="skipContent" tabindex="-1">
343 <div class="Notification-content-wrap full-width">
344 <div class="published-on-wrapper dynamic-resize">
345 <div class="container-fluid">
346 <div class=" published-on-contents">
347 <div class="row no-gutters article-published-row-wrapper">
348 <div class="article-published-dates-wrapper">
349 <div class="article-published-date">
350 <span class="published-date font-resized" style="border-right: 0px;">
351
352 ${languageUtil.get(locale,"published-on")}
353 <#assign contentPublishDate_Data = getterUtil.getString(contentPublishDate.getData())>
354
355 <#if validator.isNotNull(contentPublishDate_Data)>
356 <#assign contentPublishDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", contentPublishDate_Data, locale)>
357
358 ${dateUtil.getDate(contentPublishDate_DateObj, "MMMM dd, yyyy", locale)}
359 </#if>
360 </span>
361 </div>
362 </div>
363 <div class="article-tts-view-pdf-wrapper">
364
365 <div class="article-text-to-speach-wrapper">
366 <div class="listen-header">
367 <a href="javascript:void(0);" id="textSpeechButton" class="tts-listen-audio">
368 <button class="player-button-outer-top">
369 <img src="/documents/20125/174906/speech-to-text-play.svg"
370 alt="${languageUtil.get(locale," listen")}" />
371 </button>
372 <span
373 class="article-text-to-speach textSpeechButton">${languageUtil.get(locale,"listen")}</span>
374 </a>
375 </div>
376 </div>
377
378
379 <div class="download-pdf-wrapper">
380 <div class="btn-wrap">
381 <#if pdfURL?? && pdfURL?has_content>
382 <div class="inner-wrap">
383 <a href="${pdfURL?split('?')[0]}" target="_blank"
384 class="matomo_download">
385 <img src="/documents/70233/0/fileDownload.svg" class="downloadFile"
386 alt="Download File" title="Download File">
387 <span class="fileName matomo_download">
388 ${languageUtil.get(locale,'pdf')} <#if pdfFileSize?? &&
389 pdfFileSize?has_content>
390 (<span class="fileSize">${pdfFileSize}</span>)
391 </#if>
392 </span>
393 </a>
394 </div>
395 </#if>
396
397 <#if zipURL?? && zipURL?has_content>
398 <div class="inner-wrap">
399 <a href="${zipURL?split('?')[0]}" target="_blank"
400 class="matomo_download">
401 <img src="/documents/70233/0/fileDownload.svg" class="downloadFile"
402 alt="Download File" title="Download File">
403 <span class="fileName matomo_download">
404 ${languageUtil.get(locale,'zip')} <#if zipFileSize?? &&
405 zipFileSize?has_content>
406 (<span class="fileSize">${zipFileSize}</span>)
407 </#if>
408 </span>
409 </a>
410 </div>
411 </#if>
412
413 <#if secionDocURL?? && secionDocURL?has_content>
414 <#if secionDocURL?contains(".xls") || secionDocURL?contains(".xlsx")>
415 <div class="inner-wrap">
416 <a href="${secionDocURL?split('?')[0]}" target="_blank"
417 class="matomo_download">
418 <img src="/documents/70233/0/fileDownload.svg"
419 class="downloadFile" alt="Download File"
420 title="Download File">
421 <span class="fileName matomo_download">
422 ${languageUtil.get(locale,'excel')}
423 <#if sectionDocSize?? && sectionDocSize?has_content>
424 (<span class="fileSize">${sectionDocSize}</span>)
425 </#if>
426 </span>
427 </a>
428 </div>
429 </#if>
430 </#if>
431 <#if secionExcelURL?? && secionExcelURL?has_content>
432 <div class="inner-wrap">
433 <a href="${secionExcelURL?split('?')[0]}" target="_blank"
434 class="matomo_download">
435 <img src="/documents/70233/0/fileDownload.svg" class="downloadFile"
436 alt="Download File" title="Download File">
437 <span class="fileName matomo_download">
438 ${languageUtil.get(locale,'excel')} <#if sectionExcelSize?? &&
439 sectionExcelSize?has_content>
440 (<span class="fileSize">${sectionExcelSize}</span>)
441 </#if>
442 </span>
443 </a>
444 </div>
445 </#if>
446 </div>
447 </div>
448 </div>
449 </div>
450 </div>
451 </div>
452
453 <div class="published-content-wrapper migrated-data-heading">
454 <div class="container-fluid">
455 <div class="published-contents">
456 <div class="row no-gutters">
457 <div class="col-md-12 col-12">
458 <h2 class="section-heading fetch-page-title" id="mtm_details_page_heading">
459 <#if (indexTitle.getData())??>
460 ${indexTitle.getData()}
461 </#if>
462 </h2>
463 </div>
464
465
466 <div class="col-12">
467 <div id="migrated_data_dummy" class="d-none"></div>
468 <div class="migrated-data-wrap ">
469 <#if (indicatorsdetail.getData())??>
470 ${indicatorsdetail.getData()}
471 </#if>
472 </div>
473 </div>
474
475 </div>
476 </div>
477 </div>
478 </div>
479 </div>
480 </div>
481 </div>
482</div>
483
484<script>
485
486 $(document).ready(function () {
487 //Resolved tab title special character ASCII code issue
488 var oldPageTitle = $('title').text();
489 var pageTitle = $(".fetch-page-title").text() + "-" + oldPageTitle.split("-")[1];
490 $(document).prop('title', pageTitle);
491
492 $(".fileSize").each(function () {
493 var fileSize = $(this).html()
494 if (fileSize != "") {
495 $(this).html(formatFileSize(parseInt(fileSize), 2))
496 }
497 });
498
499 function formatFileSize(bytes, decimalPoint) {
500 if (bytes == 0)
501 return '0 Bytes';
502 var k = 1024,
503 dm = decimalPoint || 2,
504 sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],
505 i = Math.floor(Math.log(bytes) / Math.log(k));
506 return (parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i]);
507 }
508 });
509</script>
510
511<@liferay_portlet["runtime"] instanceId="99123457"
512 portletName="com_liferay_rbi_tts_utility_RbiTtsCommonUtilityPortlet" />
Page Last Updated on: September 12, 2023
Was this page helpful?