குறை தீர்ப்பு - ஆர்பிஐ - Reserve Bank of India
குறை தீர்ப்பு
Template ப்ராஸஸிங் செய்யும்போது பிழை ஏற்பட்டது.
Java method "com.sun.proxy.$Proxy307.getFileEntryByUuidAndGroupId(String, long)" threw an exception when invoked on com.sun.proxy.$Proxy307 object "com.liferay.document.library.internal.service.FriendlyURLDLFileEntryLocalServiceWrapper@2f34a7cd"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign file = dlFileEntry.getFileEnt... [in template "20099#20125#43854009" at line 301, column 278] ----
1<#assign lang = themeDisplay.getLanguageId() />
2<#if lang == "en_US">
3 <#assign imgLang = "IMG" />
4 <#assign pdfLang = "PDF" />
5<#elseif lang == "hi_IN">
6 <#assign imgLang = "इमेज" />
7 <#assign pdfLang = "पीडीएफ" />
8<#elseif lang == "bn_IN">
9 <#assign imgLang = "আইএমজি" />
10 <#assign pdfLang = "পিডিএফ" />
11<#elseif lang == "ar_SA">
12 <#assign imgLang = "ایمگ" />
13 <#assign pdfLang = "پی ڈی ایف" />
14<#elseif lang == "as_IN">
15 <#assign imgLang = "আইএমজি" />
16 <#assign pdfLang = "পিডিএফ" />
17<#elseif lang == "gu_IN">
18 <#assign imgLang = "ઇમેજ" />
19 <#assign pdfLang = "પીડીએફ" />
20<#elseif lang == "kn_IN">
21 <#assign imgLang = "ಐಎಂಜಿ" />
22 <#assign pdfLang = "ಪೀಡೀಏಫ್" />
23<#elseif lang == "ml_IN">
24 <#assign imgLang = "ഇമേജ്" />
25 <#assign pdfLang = "പിഡിഎഫ്" />
26<#elseif lang == "mr_IN">
27 <#assign imgLang = "प्रतिमा" />
28 <#assign pdfLang = "पीडीएफ" />
29<#elseif lang == "or_IN">
30 <#assign imgLang = "ଆଇଏମଜି" />
31 <#assign pdfLang = "ପିଡିଏଫ" />
32<#elseif lang == "pa_IN">
33 <#assign imgLang = "ਆਈਐਮਜੀ" />
34 <#assign pdfLang = "ਪੀਡੀਐਫ" />
35<#elseif lang == "ta_IN">
36 <#assign imgLang = "படம்" />
37 <#assign pdfLang = "பிடிஎஃப்" />
38<#elseif lang == "te_IN">
39 <#assign imgLang = "చిత్రం" />
40 <#assign pdfLang = "పిడిఎఫ్" />
41<#elseif lang == "ur_IN">
42 <#assign imgLang = "ایمگ" />
43 <#assign pdfLang = "پی ڈی ایف" />
44</#if>
45<#assign groupId=themeDisplay.getScopeGroupId() />
46<#assign dlFileEntry=serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") />
47<#assign journalArticleLocalService=serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
48<#assign AssetEntryLocalServiceUtil=serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") />
49<#assign languageId=themeDisplay.getLanguageId() />
50<#assign portalURL=themeDisplay.getURLPortal() />
51
52
53
54 <div id="" class="lazy-load">
55 <div class="container">
56 <div class="overview-grid">
57 <div class="row">
58 <#if entries?has_content>
59 <#list entries as entry>
60 <#assign assetEntry=AssetEntryLocalServiceUtil.fetchEntry(entry.getClassName(),
61 entry.getClassPK()) />
62 <#assign article=assetEntry.getAssetRenderer().getArticle() />
63 <#assign content=saxReaderUtil.read(article.getContentByLocale(languageId)) />
64 <#assign mediaType=content.valueOf("//dynamic-element[@name='SelectFromList98253814'
65 ]/dynamic-content") />
66 <#assign youtube=content.valueOf("//dynamic-element[@name='Text02449762'
67 ]/dynamic-content") />
68 <#assign downloadImageXML=content.valueOf("//dynamic-element[@name='Image69547082'
69 ]/dynamic-content") />
70 <#assign classId=entry.getClassPK() />
71 <#if downloadImageXML??>
72 <#assign
73 downloadImage=downloadImageXML?keep_after('url":')?keep_before(',"uuid')?replace('"','')?replace("\\","") />
74 </#if>
75 <#assign pdfDownloadXML=content.valueOf("//dynamic-element[@name='Upload50060528'
76 ]/dynamic-content") />
77 <#if pdfDownloadXML??>
78 <#assign
79 pdfDownload=pdfDownloadXML?keep_after('url":')?keep_before(',"uuid')?replace('"','')?replace("\\","")?keep_before("?") />
80 </#if>
81 <#assign imgSrcXML=content.valueOf("//dynamic-element[@name='Image65224793'
82 ]/dynamic-content") />
83 <#if imgSrcXML??>
84 <#assign
85 imageSrc=imgSrcXML?keep_after('url":')?keep_before(',"uuid')?replace('"','')?replace("\\","") />
86 </#if>
87 <#if mediaType=="Option03266498">
88 <div class="col-md-6 col-lg-6 col-xl-4 custome-card">
89 <div class="card-struct-white ">
90 <div data-toggle="modal" data-target="#overviewVideoPopUp-${classId}">
91 <a href="javascript:void(0)"><div class="card-img-white banknotes-image video-card matomo_video">
92 <img alt="${article.getTitle(languageId)}" src="/documents/87730/16335888/768x433.gif/e851acdb-0491-fbad-caa9-ad9a7c6d4bc0?t=1671533402133"
93 data-lazyimagesource="${imageSrc}" class="w-100 lazyImages">
94 </div></a>
95
96 <div class="border-top overview-card">
97 <h3 class="test font-resized mtm_list_item_heading ellipsis-line-text two-liner">${article.getTitle(languageId)}</h3>
98 </div>
99 </div>
100 </div>
101 </div>
102 <div class="modal fade video-overlay youtube-video-popup"
103 id="overviewVideoPopUp-${classId}" role="dialog" style="display:none;">
104 <div class="modal-dialog">
105 <div class="modal-content">
106 <button type="button" class="close overview-card-close" data-dismiss="modal"
107 aria-hidden="true" style="opacity:1"><img
108 src="${themeDisplay.getPathThemeRoot()}/images/rbi-main/icon-cross-search.svg"
109 alt="close the popup" title="close the popup" data-dismiss="modal">
110 </button>
111 <div class="modal-body">
112 <div class="youtube-video-overlay-content ">
113 <div class="row no-gutters">
114 <div class="col-12">
115 <iframe id="iframe-overviewVideoPopUp-${classId}" width="100%" src="${youtube}" data-src="${youtube}"
116 height="450" frameborder="0" scrolling="no"
117 marginheight="0" marginwidth="0" allowfullscreen>
118 </iframe>
119 </div>
120 <div class="col-12">
121 <div class="caption-for-video">
122 <p class="video-caption-txt"></p>
123 </div>
124 </div>
125 </div>
126 </div>
127 </div>
128 </div>
129 </div>
130 </div>
131 </#if>
132<script>
133 $(document).ready(function(){
134 /* Get iframe src attribute value i.e. YouTube video url
135 and store it in a variable */
136 var url = $("#iframe-overviewVideoPopUp-${classId}").attr('src');
137
138 /* Assign empty url value to the iframe src attribute when
139 modal hide, which stop the video playing */
140 $("#overviewVideoPopUp-${classId}").on('hide.bs.modal', function(){
141 $("#iframe-overviewVideoPopUp-${classId}").attr('src', '');
142 });
143
144 /* Assign the initially stored url back to the iframe src
145 attribute when modal is displayed again */
146 $("#overviewVideoPopUp-${classId}").on('show.bs.modal', function(){
147 $("#iframe-overviewVideoPopUp-${classId}").attr('src', url);
148 });
149 });
150 </script>
151 </#list>
152
153 <#-- HTML5 Video STARTS -->
154
155 <#list entries as entry>
156 <#assign assetEntry=AssetEntryLocalServiceUtil.fetchEntry(entry.getClassName(),
157 entry.getClassPK()) />
158 <#assign article=assetEntry.getAssetRenderer().getArticle() />
159 <#assign content=saxReaderUtil.read(article.getContentByLocale(languageId)) />
160
161
162 <#assign mediaType=content.valueOf("//dynamic-element[@name='SelectFromList98253814']/dynamic-content") />
163 <#assign youtube=content.valueOf("//dynamic-element[@name='Text02449762']/dynamic-content") />
164 <#assign downloadImageXML=content.valueOf("//dynamic-element[@name='Image69547082']/dynamic-content") />
165 <#assign HTML5Video = content.valueOf("//dynamic-element[@name='Upload44450753']/dynamic-content") />
166 <#assign classId=entry.getClassPK() />
167
168 <#if downloadImageXML??>
169 <#assign downloadImage=downloadImageXML?keep_after('url":')?keep_before(',"uuid')?replace('"','')?replace("\\","") />
170 </#if>
171 <#assign pdfDownloadXML=content.valueOf("//dynamic-element[@name='Upload50060528'
172 ]/dynamic-content") />
173 <#if pdfDownloadXML??>
174 <#assign pdfDownload=pdfDownloadXML?keep_after('url":')?keep_before(',"uuid')?replace('"','')?replace("\\","")?keep_before("?") />
175 </#if>
176 <#assign imgSrcXML=content.valueOf("//dynamic-element[@name='Image65224793']/dynamic-content") />
177 <#if imgSrcXML??>
178 <#assign imageSrc=imgSrcXML?keep_after('url":')?keep_before(',"uuid')?replace('"','')?replace("\\","") />
179 </#if>
180 <#if mediaType=="Option29443284">
181 <#assign htmlVideo = HTML5Video?keep_after('html":"')?keep_before(',"size')?replace('\\','')?replace('"','') />
182 <#assign videoSrc = portalURL+htmlVideo?keep_after('src')?keep_before('width')?replace('"','')?replace('=','')/>
183 <div class="col-md-6 col-lg-6 col-xl-4 custome-card">
184 <div class="card-struct-white ">
185 <div data-toggle="modal" data-target="#overviewVideoPopUp-${classId}">
186 <a href="javascript:void(0)"> <div class="card-img-white banknotes-image video-card matomo_video">
187 <img alt="${article.getTitle(languageId)}" src="/documents/87730/16335888/768x433.gif/e851acdb-0491-fbad-caa9-ad9a7c6d4bc0?t=1671533402133"
188 data-lazyimagesource=${imageSrc} class="w-100 lazyImages">
189 </div></a>
190
191 <div class="border-top overview-card">
192 <h3 class="test font-resized mtm_list_item_heading ellipsis-line-text two-liner">${article.getTitle(languageId)}</h3>
193 </div>
194 </div>
195 </div>
196 </div>
197 <div class="modal fade video-overlay youtube-video-popup"
198 id="overviewVideoPopUp-${classId}" role="dialog" style="display:none;">
199 <div class="modal-dialog">
200 <div class="modal-content">
201 <button type="button" class="close overview-card-close" data-dismiss="modal"
202 aria-hidden="true" style="opacity:1"><img
203 src="${themeDisplay.getPathThemeRoot()}/images/rbi-main/icon-cross-search.svg"
204 alt="close the popup" title="close the popup" data-dismiss="modal">
205 </button>
206 <div class="modal-body">
207 <div class="youtube-video-overlay-content ">
208 <div class="row no-gutters">
209 <div class="col-12">
210 <video width="100%" src="${videoSrc}" data-src="${videoSrc}" type="video/mp4" controls></video>
211 </div>
212 <div class="col-12">
213 <div class="caption-for-video">
214 <p class="video-caption-txt"></p>
215 </div>
216 </div>
217 </div>
218 </div>
219 </div>
220 </div>
221 </div>
222 </div>
223 </#if>
224<script>
225 $(document).ready(function(){
226 /* Get iframe src attribute value i.e. YouTube video url
227 and store it in a variable */
228 var url = $("#iframe-overviewVideoPopUp-${classId}").attr('src');
229
230 /* Assign empty url value to the iframe src attribute when
231 modal hide, which stop the video playing */
232 $("#overviewVideoPopUp-${classId}").on('hide.bs.modal', function(){
233 $("#iframe-overviewVideoPopUp-${classId}").attr('src', '');
234 });
235
236 /* Assign the initially stored url back to the iframe src
237 attribute when modal is displayed again */
238 $("#overviewVideoPopUp-${classId}").on('show.bs.modal', function(){
239 $("#iframe-overviewVideoPopUp-${classId}").attr('src', url);
240 });
241 });
242 </script>
243 </#list>
244
245 <#-- HTML5 Video ENDS -->
246
247 <#list entries as entry>
248 <#assign assetEntry=AssetEntryLocalServiceUtil.fetchEntry(entry.getClassName(),
249 entry.getClassPK()) />
250 <#assign article=assetEntry.getAssetRenderer().getArticle() />
251 <#assign content=saxReaderUtil.read(article.getContentByLocale(languageId)) />
252 <#assign mediaType=content.valueOf("//dynamic-element[@name='SelectFromList98253814'
253 ]/dynamic-content") />
254 <#assign youtube=content.valueOf("//dynamic-element[@name='Text02449762'
255 ]/dynamic-content") />
256 <#assign downloadImageXML=content.valueOf("//dynamic-element[@name='Image69547082'
257 ]/dynamic-content") />
258 <#assign classId=entry.getClassPK() />
259 <#if downloadImageXML??>
260 <#assign
261 downloadImage=downloadImageXML?keep_after('url":')?keep_before(',"uuid')?replace('"','')?replace("\\","") />
262 </#if>
263 <#assign pdfDownloadXML=content.valueOf("//dynamic-element[@name='Upload50060528'
264 ]/dynamic-content") />
265 <#if pdfDownloadXML??>
266 <#assign
267 pdfDownload=pdfDownloadXML?keep_after('url":')?keep_before(',"uuid')?replace('"','')?replace("\\","")?keep_before("?") />
268 </#if>
269 <#assign imgSrcXML=content.valueOf("//dynamic-element[@name='Image65224793'
270 ]/dynamic-content") />
271 <#if imgSrcXML??>
272 <#assign
273 imageSrc=imgSrcXML?keep_after('url":')?keep_before(',"uuid')?replace('"','')?replace("\\","") />
274 <#assign
275 imageAlt=imgSrcXML?keep_after('title":')?keep_before(',"type')?replace('"','')?replace('"','') />
276 </#if>
277
278 <#if mediaType=="Option55038864">
279 <div class="col-md-6 col-lg-6 col-xl-4 custome-card">
280 <div class="card-struct-white ">
281 <div data-toggle="modal" data-target="#overviewVideoPopUp-${classId}">
282 <a href="javascript:void(0)"> <div class="card-img-white banknotes-image">
283 <img alt="${article.getTitle(languageId)}" src="/documents/87730/16335888/768x433.gif/e851acdb-0491-fbad-caa9-ad9a7c6d4bc0?t=1671533402133"
284 data-lazyimagesource=${imageSrc} class="w-100 lazyImages">
285 </div></a>
286
287 <div class="border-top overview-card">
288 <h3 class="test font-resized mtm_list_item_heading ellipsis-line-text two-liner">${article.getTitle(languageId)}</h3>
289 </div>
290 </div>
291 <#if pdfDownload !="" || downloadImage !="">
292 <div class="download-block padd-lr-24">
293 <div class="pdf-group">
294 <#if pdfDownload !="">
295 <a href="${pdfDownload}" class="matamo_download" target="_blank">
296 <div class="pdf-cont">
297 <img src="${themeDisplay.getPathThemeRoot()}/images/rbi-main/audio_download.svg"
298 class="img-fluid" alt="">
299 <span>${pdfLang}
300 <#assign uuid= pdfDownloadXML?keep_after('uuid":')?replace('"','')?replace("\\","")?replace("}","")/>
301 <#if (uuid??) && (groupId??)><#assign file = dlFileEntry.getFileEntryByUuidAndGroupId(uuid,groupId) />
302 (<span class="fileSize">${file.getSize()}</span>)
303 </#if></span>
304
305
306
307 </div>
308 </a>
309 </#if>
310 <#if downloadImage !="">
311 <a href="${downloadImage}" download>
312 <div class="pdf-cont">
313 <img src="${themeDisplay.getPathThemeRoot()}/images/rbi-main/audio_download.svg"
314 class="img-fluid" alt="">
315 <span>${imgLang}
316
317 <#assign uuid= downloadImageXML?keep_after('uuid":')?keep_before('"width')?replace('"','')?replace("\\","")?replace("}","")?replace(",","")/>
318 <#if (uuid??) && (groupId??)><#assign file = dlFileEntry.getFileEntryByUuidAndGroupId(uuid,groupId) />
319 (<span class="fileSize">${file.getSize()}</span>)
320 </#if>
321 </span>
322 </div>
323 </a>
324 </#if>
325 </div>
326 </div>
327 </#if>
328 </div>
329 </div>
330 <div class="modal fade overview-card-overlay video-overlay image-modal-popup youtube-video-popup"
331 id="overviewVideoPopUp-${classId}" role="dialog" style="display:none;">
332 <div class="modal-dialog">
333 <div class="modal-content">
334 <div class="row justify-content-center">
335 <div class="col-10">
336 <div class="socian_icon">
337 <p>Share:</p>
338 <ul>
339 <li>
340 <a target="_blank"
341 href="https://api.whatsapp.com/send?text=${portalURL}${imageSrc}"
342 class="whatsApp whatsapp-share-btn">
343 <img src="${themeDisplay.getPathThemeRoot()}/images/rbi-main/share-whatsApp.svg"
344 alt="whatsapp icon" />
345 </a>
346 </li>
347 <li>
348 <a target="_blank"
349 href="https://twitter.com/intent/tweet?title=${imageAlt}&url=${portalURL}${imageSrc}"
350 class="twit twitter-share-btn">
351 <img src="${themeDisplay.getPathThemeRoot()}/images/rbi-main/share-twitter.svg"
352 alt="twinter icon" />
353 </a>
354 </li>
355 <li>
356 <a target="_blank"
357 href="https://www.linkedin.com/shareArticle?mini=true&url=${portalURL}${imageSrc}"
358 class="link_in linkedin-share-btn">
359 <img src="${themeDisplay.getPathThemeRoot()}/images/rbi-main/share-linkedIn.svg"
360 alt="linkin icon" />
361 </a>
362 </li>
363 <li>
364 <a target="_blank"
365 href="http://www.facebook.com/sharer.php?u=${portalURL}${imageSrc}"
366 class="face_book facebook-share-btn">
367 <img src="${themeDisplay.getPathThemeRoot()}/images/rbi-main/share-facebook.svg"
368 alt="facebook icon" />
369 </a>
370 </li>
371 </ul>
372 </div>
373 <div class="closePopUp-wrapper"
374 data-id="overviewVideoPopUp-${classId}">
375 <img src="${themeDisplay.getPathThemeRoot()}/images/rbi-main/icon-cross-search.svg"
376 alt="close the popup" title="close the popup"
377 data-dismiss="modal">
378 </div>
379 </div>
380 </div>
381 <div class="modal-body">
382 <div class="image-overlay-content">
383 <div class="row no-gutters justify-content-center">
384 <div class="col-10">
385 <img alt="Image" class="w-100 lazyImages" src="/documents/87730/16335888/768x433.gif/e851acdb-0491-fbad-caa9-ad9a7c6d4bc0?t=1671533402133"
386 data-lazyimagesource=${imageSrc} />
387 </div>
388 <div class="col-12">
389 <div class="caption-for-video">
390
391 </div>
392 </div>
393 </div>
394 </div>
395 </div>
396 </div>
397 </div>
398 </div>
399 </#if>
400 </#list>
401 </#if>
402 </div>
403 </div>
404 </div>
405 </div>
406
407 <script>
408// Events Title Character Limit Start
409 /* $('.overview-grid h3').each(function(index) {
410 var originalText = $(this).text();
411 var trimStart = $.trim(originalText);
412 maxLengthPWA = 77;
413 maxLengthWeb = 57;
414 $(this).html(trimStart);
415 $(this).text(function(index, currentText) {
416 if(window.matchMedia("(max-width: 767px)").matches){
417 if(currentText.length >= maxLengthPWA) {
418 return currentText.substr(0, maxLengthPWA) + "...";
419 }
420 } else{
421 if(currentText.length >= maxLengthWeb) {
422 return currentText.substr(0, maxLengthWeb) + "...";
423 }
424 }
425 });
426 }); */
427// Events Title Character Limit End
428</script>
429 <style>
430 .pdf-cont {display: inline;}
431.pdf-cont img{margin-top: -4px;margin-right: 0;}
432 .card-img-white img {
433 object-fit: cover;
434 height: 300px;
435 object-position: top;
436 }
437
438 .overview-card-overlay .closePopUp-wrapper {
439 top: 0px !important;
440 }
441.overview-card {
442 cursor: pointer;
443}
444 .overview-card-close {
445 opacity: 1;
446 z-index: 1;
447 }
448
449 .overview-card-close img {
450 filter: brightness(0) invert(1);
451 }
452.pdf-cont{font-weight: var(--semibold);}
453 @media screen and (max-width: 768px) {
454 .overview-card-close {
455 top: -20px;
456 }
457 .card-struct-white h4{font-size: var(--fnt_14) !important;}
458.card-struct-white h3{font-size: var(--fnt_14) !important;}
459 .pdf-cont{font-size: var(--fnt_10);}
460 }
461 .custome-card h3 {
462 padding: 24px;
463 margin: 0;
464 width: 100%;
465 font-size: var(--fnt_20);
466 font-weight: var(--semibold);
467}
468
469 .card-struct-white h3:hover {
470 text-decoration:underline;}
471 .card-struct-white .pdf-cont:hover span{text-decoration:underline;}
472
473
474 .card-struct-white:hover{box-shadow: 0px 3px 10px rgba(1, 33, 80, 0.2);}
475
476.custome-card .download-block{margin-bottom: 24px;}
477.download-block {position: static;bottom: 25px;width: 100%;margin-bottom: 0;}
478.custome-card h3 {padding: 0 24px !important;margin: 24px 0 30px !important;}
479.card-struct-white {position: relative;}
480 .pdf-group{
481 display: flex;
482 /* position: absolute; */
483 bottom: 24px;
484}
485
486
487 @supports (-webkit-touch-callout: none) {
488 .custome-card .download-block .pdf-group {position: static;}
489}
490 @media only screen and (min-width: 768px) {
491 .custome-card h3 {line-height: 32px;}
492.card-struct-white .border-top {min-height: 105px;}
493}
494 @media only screen and (max-width: 1260px) and (min-width: 768px) {
495 .pdf-cont{font-size: var(--fnt_12);}
496 }.card-img-white img{height:280px !important;}
497 .modal .socian_icon{margin-bottom:10px !important}
498 .is_user .modal.video-overlay .modal-content .youtube-video-overlay-content {margin-top:40px;}
499
500 .card-top-bottom-con-fixed {
501 position: relative;
502 justify-content: space-between;
503 display: inline-flex;
504 flex-direction: column;
505 width: 100%;
506}
507body .custome-card .card-top-bottom-con-fixed h3 {
508 padding: 0 24px !important;
509 margin: 24px 0 30px !important;
510}
511
512 </style>
கடைசியாக புதுப்பிக்கப்பட்ட பக்கம்: ஜனவரி 13, 2024