Im using the package from the below link :https://experience-aem.blogspot.com/2019/04/aem-65-touch-ui-rte-rich-text-editor-structured-content-plugin-creating-tooltips.htmlbut the only issue I'm seeing is that every time I update the value of the tooltip, the new value gets appended to the previous v...
In my Java model class I have the currentPage from which I'm trying to get the country. But it always gives empty/null value. I tried the following:currentPage.getLanguage() --> gives me the localelocale.getLanguage-->gives me the language of the localecurrentPage.getLanguage().getCountry()-->emptyc...
Hi, thanks for the answer. Will the above code give me the component node, irrespective of the depth (in which the comp is present)?Because if you see my question, the comp may not be directly present under the root.
I have a component that i want to add in the JP/EN/HK/any language site and I want that to be present in all the child pages. How can I can do this? (I can't add it to the template).
I need to get the component node and here's how the component can be available on the page:page-->jcr:content-->root-->componentpage-->jcr:content-->root-->responsivegred-->componentpage-->jcr:content-->root-->responsivegred-<anyrandom number>-->componentpage-->jcr:content-->root-->responsivegred-->...
Hi All,I added "granite:class" property to a text field in a component dialog. I made this field of type "String" and "Multiple". Added 2 class names to this fields, saved the changes and checked my page. I could only see the first class name. I wanted to know if "granite:class" is always a single v...
And for the second code that you suggested im getting the error: SlingException: Cannot get DefaultSlingScript: org.mozilla.javascript.EcmaError: ReferenceError: "$" is not defined.
<sly data-sly-use.status="'myfile.js' @ url=${file2.path}"> gives me an error --> SlingException: Cannot get DefaultSlingScript: Identifier 'myfile.js' @ url=http://localhost:4502/<path> cannot be correctly instantiated by the Use API