• Responsive Image
  • Responsive Image
  • Responsive Image
  • Responsive Image
Today’s Prices
An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy112.getAssetEntry(long)" threw an exception when invoked on com.sun.proxy.$Proxy112 object "com.liferay.asset.internal.service.AssetEntryAssetCategoryRelAssetEntryLocalServiceWrapper@1496eb82"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign curEntry = assetEntryLocalSer...  [in template "20099#20125#117138" at line 4, column 1]
----
1<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
2<#assign entryId = paramUtil.getLong(request,"outletId") /> 
3 
4<#assign curEntry = assetEntryLocalService.getAssetEntry(entryId?number) /> 
5	<#if curEntry?has_content> 
6<#assign entryId = curEntry.getEntryId()/> 
7<#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContent()) /> 
8<#assign title = docXml.valueOf("//dynamic-element[@name='Text12639057']/dynamic-content/text()") />  
9<#assign title2 = docXml.valueOf("//dynamic-element[@name='Text69142381']/dynamic-content/text()") />  
10<#assign outletcategoryoptionreference = docXml.valueOf("//dynamic-element[@name='SelectFromList24456007']/dynamic-content/text()") />  
11<#assign outletcategoryfieldreference ='SelectFromList24456007'/> 
12<#assign categoryoptionreference = docXml.valueOf("//dynamic-element[@name='SelectFromList49626585']/dynamic-content") /> 
13<#assign categoryfieldreference = 'SelectFromList49626585'/> 
14<#assign addressl1 = docXml.valueOf("//dynamic-element[@name='Text95257088']/dynamic-content/text()") /> 
15<#assign city = docXml.valueOf("//dynamic-element[@name='Text21713263']/dynamic-content/text()") /> 
16<#assign state = docXml.valueOf("//dynamic-element[@name='Text21415211']/dynamic-content/text()") /> 
17<#assign pincode = docXml.valueOf("//dynamic-element[@name='Text09099705']/dynamic-content/text()") /> 
18<#assign email = docXml.valueOf("//dynamic-element[@name='Text36452516']/dynamic-content/text()") /> 
19<#assign featureimage = docXml.valueOf("//dynamic-element[@name='Image03258371']/dynamic-content/text()") /> 
20<#assign opentime = docXml.valueOf("//dynamic-element[@name='Text68525540']/dynamic-content/text()") /> 
21<#assign closetime = docXml.valueOf("//dynamic-element[@name='Text85221853']/dynamic-content/text()") /> 
22<#assign note = docXml.valueOf("//dynamic-element[@name='Text40291336']/dynamic-content/text()") /> 
23<#assign phoneno = docXml.valueOf("//dynamic-element[@name='Text10869542']/dynamic-content/text()") /> 
24<#assign phonenofieldreference='Text10869542'/> 
25<#assign longitude = docXml.valueOf("//dynamic-element[@name='Numeric99603620']/dynamic-content/text()") /> 
26<#assign latitude = docXml.valueOf("//dynamic-element[@name='Numeric24770311']/dynamic-content/text()") /> 
27<#assign categoryValues=''/> 
28<#assign categoryoptionreference = categoryoptionreference?trim /> 
29<#list categoryoptionreference?split("\n") as x> 
30		<#assign categoryvalue=midasCommonUtil.getWebContentDetail(entryId,categoryfieldreference,x?trim)/> 
31		<#assign categoryValues = categoryValues+categoryvalue+ ',' /> 
32</#list> 
33<#assign categoryValues = categoryValues?remove_ending(',') /> 
34 
35<#assign outletcategoryvalue=midasCommonUtil.getWebContentDetail(entryId,outletcategoryfieldreference,outletcategoryoptionreference)/> 
36<#assign phoneno = midasCommonUtil.getPhoneNoWebContentRepeatableDetail(entryId,phonenofieldreference)/> 
37<#assign storelink = "/web${themeDisplay.getScopeGroup().getFriendlyURL()}"+pageFriendlyURLConfigurationUtil.getPageFriendlyURL("store-details")+"?outletId=${entryId}" />		 
38<#assign serviceoffered = docXml.valueOf("//dynamic-element[@name='Text41985817']/dynamic-content/text()") />  
39<#assign galleryimage = docXml.valueOf("//dynamic-element[@name='Image46323389']/dynamic-content/text()") /> 
40<#assign galleryimagefieldreference ='Image46323389'/> 
41 
42<#if validator.isNotNull(note)> 
43		<#assign validnote = note> 
44</#if> 
45 
46 
47    <#assign dlFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") /> 
48		 
49	  <#assign fileentryid = jsonFactoryUtil.createJSONObject(featureimage).getString("fileEntryId")> 
50		 
51		<#if fileentryid?number != 0> 
52		<#assign dlFileEntry = dlFileEntryLocalService.getDLFileEntry(fileentryid?number) />	 
53  	<!-- 
54		<div class=" banner_img"> 
55		<img src ="/documents/${dlFileEntry.getRepositoryId()}/${dlFileEntry.getFolderId()}/${dlFileEntry.getFileName()}"> 
56		<div class="text-box"><p>${title}<br>${title2}</p></div> 
57    </div> 
58		--> 
59		 
60		<div class="default-align-banner bottom-align-banner store_det_banner"> 
61	<div class="bottom-banner"> 
62			<img src="/documents/${dlFileEntry.getRepositoryId()}/${dlFileEntry.getFolderId()}/${dlFileEntry.getFileName()}" /> 
63	</div> 
64		 
65	<div class="info-card "> 
66		<span class="card-heading"> 
67			${title}<br>${title2} 
68		</span> 
69		<div class="card-text"></div> 
70	</div> 
71</div> 
72	</#if> 
73	 
74		 
75		 
76	 
77		 
78<#assign phoneno = midasCommonUtil.getPhoneNoWebContentRepeatableDetail(entryId,phonenofieldreference)/> 
79<#assign fileentryidlist= midasCommonUtil.getImageWebContentRepeatableDetail(entryId,galleryimagefieldreference)/> 
80 
81<div class="cus-container store_detail_cont"> 
82<div class="cus-row store_info"> 
83      <div class="store_addr"> 
84        <h4>Address -</h4> 
85        <p class="address">${title}, ${addressl1}</p> 
86         
87          <p><i class="far fa-phone fa-rotate-90"></i> ${phoneno}</p> 
88          <p><i class="far fa-envelope"></i> ${email}</p> 
89          <p><i class="far fa-clock"></i> ${opentime} to ${closetime}</p> 
90					<#if validator.isNotNull(note)> 
91          <p class="note">Note: ${note}</p> 
92					</#if> 
93          <p><a target="_blank" href="https://www.google.com/maps/search/?api=1&query=${latitude},${longitude}" class="show_det">DIRECTIONS</a></p> 
94        </ul> 
95      </div> 
96      <div id="store_map" class="store_map"></div> 
97    </div> 
98		<#if fileentryidlist?has_content> 
99			 
100		<div class="cus-row store_gallery"> 
101		<div class="owl-carousel store_det_gallery carousel-grey-arrow"> 
102      <#list fileentryidlist as curfileentry> 
103			<#assign fileentryid = jsonFactoryUtil.createJSONObject(curfileentry).getString("fileEntryId")> 
104			<#if fileentryid !=''> 
105			<#if fileentryid?number != 0> 
106		<#assign dlFileEntry = dlFileEntryLocalService.getDLFileEntry(fileentryid?number) />	 
107		 
108		<div class="image_box"> 
109  	<img src ="/documents/${dlFileEntry.getRepositoryId()}/${dlFileEntry.getFolderId()}/${dlFileEntry.getFileName()}"> 
110		</div> 
111		 
112		 
113			</#if> 
114			</#if> 
115      </#list> 
116			</div> 
117    </div> 
118		</#if> 
119		<div class="cus-row store_des"> 
120			<div> 
121      <h4>Services Offered :</h4> 
122      <p>${serviceoffered}</p> 
123			</div> 
124    </div> 
125</div>					 
126								 
127	</#if> 
128	<script src="https://maps.google.com/maps/api/js?key=AIzaSyCt27DEMYlu6TVz7-BZj5mi4RkwWZ9n18U&region=in"></script> 
129	<script> 
130	 
131	if(screen.width<768){ 
132	const store_box=$('.store_addr'); 
133	const html = store_box.html(); 
134if (html) { 
135    const emailRegex = /([a-z0-9._-]+@[a-z0-9.-]+\.[a-z]{2,4})/ig; 
136  // const mobileregex = /Tel:\s+((\+\d{1,2}\s?)?1?\-?\.?\s?\(?\d{3}\)?[\s.-]?\d{3}[\s.-]?\d{4})/g; 
137  const mobileregex = /((\+\d{1,4}\s?)?1?\-?\.?\s?\(?\d{3,4}\)?[\s.-]?\d{3,4}[\s.-]?\d{4})/g; 
138  store_box.html( html.replace(emailRegex, '<a href="mailto:$1">$1</a>').replace(mobileregex, 'Tel: <a href="tel:$1">$1</a>')); 
139
140
141	 
142	 
143	$('.store_det_gallery').owlCarousel({ 
144        loop:true, 
145				margin:30, 
146    nav:true, 
147    responsive:{ 
148        0:{ 
149            items:1, 
150						margin:10, 
151						stagePadding: 20 
152        }, 
153        767:{ 
154            items:2 
155        }, 
156        1000:{ 
157            items:3 
158
159
160      }); 
161	</script> 
162	<script> 
163	var mapOptions = { 
164zoom: 3, 
165maxZoom: 16, 
166scrollwheel: false, 
167fullscreenControl: false, 
168}; 
169var map = new google.maps.Map(document.getElementById("store_map"), mapOptions); 
170var bounds = new google.maps.LatLngBounds(); 
171// Loop to generate marker and infowindow based on properties array 
172var markers = new Array(); 
173 
174var url = ''; 
175var size = new google.maps.Size(42, 57); 
176 
177var image = { 
178url: url, 
179size: size, 
180scaledSize: new google.maps.Size(42, 57), 
181origin: new google.maps.Point(0, 0), 
182anchor: new google.maps.Point(21, 56) 
183}; 
184markers[0] = new google.maps.Marker({ 
185position: new google.maps.LatLng(${latitude}, ${longitude}), 
186map: map, 
187icon: '/o/midas-core-theme/images/map_pointer.png', 
188title: '${title}', 
189animation: google.maps.Animation.DROP, 
190visible: true 
191}); 
192bounds.extend(markers[0].getPosition()); 
193 
194 
195map.fitBounds(bounds); 
196/* Marker Clusters */ 
197var markerClustererOptions = { 
198ignoreHidden: true, 
199maxZoom: 14, 
200styles: [{ 
201textColor: '#ffffff', 
202url: "/o/midas-core-theme/images/cluster-icon.png", 
203height: 48, 
204width: 48 
205}] 
206}; 
207var markerClusterer = new MarkerClusterer(map, markers, markerClustererOptions); 
208function attachInfoBoxToMarker(map, marker, infoBox) { 
209google.maps.event.addListener(marker, 'click', function() { 
210var scale = Math.pow(2, map.getZoom()); 
211var offsety = ((100 / scale) || 0); 
212var projection = map.getProjection(); 
213var markerPosition = marker.getPosition(); 
214var markerScreenPosition = projection.fromLatLngToPoint(markerPosition); 
215var pointHalfScreenAbove = new google.maps.Point(markerScreenPosition.x, markerScreenPosition.y - offsety); 
216var aboveMarkerLatLng = projection.fromPointToLatLng(pointHalfScreenAbove); 
217map.setCenter(aboveMarkerLatLng); 
218infoBox.open(map, marker); 
219}); 
220
221	 
222	</script> 

Explore our collection of finest made coins and bars