About 4,960,000 results
Open links in new tab
  1. 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, 11 months ago Modified 1 year, 11 months ago Viewed 15k times

  2. sightly - AEM different ways to use HTL sly - Stack Overflow

    Dec 16, 2020 · AEM different ways to use HTL sly Asked 5 years ago Modified 4 years, 11 months ago Viewed 2k times

  3. How to add data-attribute conditionally using HTL in AEM?

    How to add data-attribute conditionally using HTL in AEM? Asked 5 years, 5 months ago Modified 5 years, 5 months ago Viewed 4k times

  4. Add attribute in Sightly/HTL only if it exists (AEM)

    Nov 30, 2020 · Here all three options of approaching this Sling Model Using sling models is the preferred way because it provides a better separation of concerns and keeps your HTL clean and you can …

  5. 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, 1 month ago Modified 6 years, 1 month ago Viewed 4k times

  6. 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 …

  7. 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.

  8. 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 …

  9. 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, 5 months ago Modified 7 years, 5 months ago Viewed 3k times

  10. AEM - certain page properties don't render in Sightly HTL

    Dec 9, 2021 · I am trying to access certain page properties for a certain page using a path defined in a component's dialog. I am using this in my AEM PageCard Class: public Page getPage() { return this.