
sightly - AEM different ways to use HTL sly - Stack Overflow
Dec 16, 2020 · AEM different ways to use HTL sly Asked 4 years, 11 months ago Modified 4 years, 11 months ago Viewed 2k times
Retrieving values from multifield component in HTL in AEM 6.5
Retrieving values from multifield component in HTL in AEM 6.5 Asked 5 years, 10 months ago Modified 1 year, 10 months ago Viewed 15k times
Can I use sightly display context along with i18n label?
Apr 10, 2017 · 0 HTL will not decode the text returned by format. I think the confusion comes from the documentation which states for the display context text the following: Use this for simple HTML …
How do I make an HTL anchor tag centered? [duplicate]
Dec 4, 2025 · I'm trying to make the "a href" tag centered in my project, but I don't know how to do that. This is what I want it to look like: And this is what mine looks like: And heres my code <!
How to add data-attribute conditionally using HTL in AEM?
How to add data-attribute conditionally using HTL in AEM? Asked 5 years, 4 months ago Modified 5 years, 4 months ago Viewed 4k times
Using AEM's Javascript Use-API, how can I pass a function to the HTL ...
Nov 19, 2019 · Using AEM's Javascript Use-API, how can I pass a function to the HTL side and invoke it with arguments? Asked 6 years ago Modified 6 years ago Viewed 4k times
aem - Sightly - Empty check on list HTL - Stack Overflow
Sep 6, 2020 · How to check the empty list on Sightly? I wanted to prevent render the item-list DIV if there was no item on itemImgaeList. But it returns me one (1) always if there were no items while …
How to call Sling Model Method with input parameter AEM
Feb 19, 2017 · By design of the HTL/Sightly language, sending parameters is only possible for data-sly-use (use objects initialization) and data-sly-call (template calls). The reason for this is to separate …
AEM Servlet ResourceType in AJAX URL - Stack Overflow
Nov 24, 2020 · Then in htl JS can get that information and use it for ajax calls. So create getter which returns path of that resource + additionally selectors/extension based how you define your servlet.
Idiomatic way to overcome difficulties with `@extension = 'html'` in ...
Jul 19, 2018 · Idiomatic way to overcome difficulties with `@extension = 'html'` in AEM 6.3 Sightly/HTL? Asked 7 years, 4 months ago Modified 7 years, 4 months ago Viewed 3k times