Hi All,I have written a servlet which will be executed when below url is called:http://localhost:4503/content/experience-fragments/TestProject/en-us/banners.searchConditionalContent.json?tags=test/sources/512This url fetch the correct data based on the query written in servlet service. Now on publis...
Thanks Arun for Reply. you got my requirement exactly.Can you please ellaborate more? I tried below statement instead of above statement.<div data-sly-resource="${'banner' @resourceType='/apps/web/platform/components/content/banner', decorationTagName='div'}"></div>but no output using this on homepa...
Page Rendering Script: homepage.html<!--/* Banner */--><div data-sly-resource="${'banner' @resourceType='/apps/web/platform/components/content/banner'}"></div>On the page http://localhost:4502/editor.html/content/home.html I can see banner component. But when I go to /content/home/jcr:content ther...
I am developing on AEM 6.3I have already tried:@Self@Inject private SlingHttpServletRequest slingRequest;and@SlingObject private SlingHttpServletRequest slingRequest;Any other way to get the SlingHttpServletRequest object?