Hi All,I want to escape chars like "<", ">" and "/" in sightly. I have this piece of code:${"{1}{0}{2}{1}{3}{0}{2}" @ format=[properties.test,'<','>','/']} - but its rendering in HTML as <test-data></contact-us>I checked this https://docs.adobe.com/docs/en/aem/6-0/develop/sightly/expres...
Hi ,I have a requirement to share images on Facebook & TwitterI have Image Gallery Component where images are shown in rows and columns. There I click on Image on Modal pop up will come there I will have two buttons like : Facebook Share and Twitter.If I click on Share it will redirect to facebook l...
Hi,I have written a filter to check whether user is login, if not, redirect it to the login page. I am referring to this filter code mentioned in this article http://aemfaq.blogspot.sg/2013/05/blocking-anonymous-access-to-crx-in-non.htmlBut when I tested it, the filter seems not work for the URL: ht...
Hi Friends, I have one situation to clear the varnish pages at the time of CQ5 page activation. I am using the httpclient to purge the page in varnish . I am getting correct repsonse 200 Purged but that page is not getting cleared from the varnish. Here is the code I am using, Please suggest the cha...
Hi All,I am trying to use the HBS comments component present in communities component group on a page to check the comments functionality and getting below exception. I have tested that reverse replication agent is working fine and configured properly. Can anyone help if they have faced this issue b...
Hi All,We are creating Query object using below code.javax.jcr.query.Query query = queryManager.createQuery(queryString, javax.jcr.query.Query.XPATH);As javax.jcr.query.Query.XPATH constant has been deprecated in AEM 6.2,what will be the alternative approach to create query object of type XPATH,I ...
In order to do offloading, I copied my author instance of AEM6.1 to a new location to be the work instance. The author instance is set up to be a cluster, though it's a one-server cluster, so it's the cluster leader.I changed the sling.id of the work instance so I could connect them up via the topo...
I have a container component in container.jsp I want to include another component (Tile component) .Tile component has got 2 jsps,In container.jsp when condition A matches I want to include Tile component only tile.jsp executed.When condition B matches I want to include tile component only tile.sele...
Good day all. Some help understanding the above will be really appreciated.I have a class that extends HttpServlet instead of SlingSafeMethodsServlet. I use @SlingServlet to expose a URL endpoint.@SlingServlet(paths = "/apps/myapp") MyServlet extends HttpServlet { ... }Everything works as expected o...