Could someone help with displaying the duration between two different dates and times in hours, and days and hours, if possible? I've reviewed almost every post related to this subject (in the forums and elsewhere) and have tried virtually every recommendation out there, but I can't figure it out. I...
I'm working on servlet registered on path & wanted to return its content in json data.Currently, my servlet is fetching data from "/content/myproject/language-masters/en/jcr:content/root/container/container/componentname". Here values in component are injected via model & same used for servlet. I'm...
So my component HTML has been reduced to <!-- my-component --> <h1>my-component</h1> But every time I load the page that contains the component, I keep on getting something else (the original HTML before I reduced it to the HTML you see above) Some info: This is page structure: page => experi...
Hello, I just wanted to check if there is any guide on the folder structure for the components. I have researched a bit and found out about the /content and /structure folder. I am not sure if it's old school or still applies nowadays. Additionally, when we create a project using the maven archetype...
Hi All - I have a field in the dialog to select the content fragment. I am using pathbrowser to select the CF in the dailog. I could only see the content fragment not the variation. is there a way to display the content fragment variation for the selection.
Hi Team, I have to create a lucene Index for a query. The query returns the page (the page should be created with contentpage template)which matches the id(stored at component node ). The query is given below. type=cq:Page path=content/mysite/country/locale property1=jcr:content/cq:template ...
Hi All, I have the below scenario - 1. CSS clientlibs file calling font files via url syntax as below - @Font-face{font-family:icomoon;src:url(clientlib-site/resources/icons/icomoon.eot?s69qo9);src:url(clientlib-site/resources/icons/icomoon.eot?s69qo9#iefix) format("embedded-opentype"),url(cli...
Does anyone have any working examples of an AEM project structure that leverages AEM's SPA editor with Redux to manage global state between components? If someone can provide me an example I can probably reverse engineer it to figure out what is wrong with my project... I've initialised a project ...
I need to add text tab of teaser component into multifield and write sightly for that using Sling model I cant get teaser text tab displayed in multifield