About 51 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 6 years, 3 months ago Modified 2 years, 3 months ago Viewed 15k times

  2. aem - How to add the Author/Edit mode condition in sightly/HTL for ...

    How to add the Author/Edit mode condition in sightly/HTL for class attribute values.? Asked 6 years, 9 months ago Modified 6 years, 9 months ago Viewed 4k times

  3. sightly - AEM HTL dynamic property name - Stack Overflow

    May 3, 2023 · Is there any way in HTL to use dynamic property name something like this ${class.map['prefix' + item.name]}

  4. aem - Sightly (HTL) List iteration - Stack Overflow

    Feb 13, 2017 · You can either use data-sly-list or data-sly-repeat to iterate over collections / iterables in HTL. Both of them work the same with the only difference, data-sly-repeat doesn't require a container …

  5. AEM 6.5: Is there an HTL way to output Webpack-generated CSS within ...

    Nov 2, 2021 · AFAIK there isn't an OOB way to do it. If your webpack generated is in a file you just can't inline embed the file's contents using HTL. You don't need a 3rd party script to do it, but you would …

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

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

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

  8. How to compare two strings in Sightly/HTL? (AEM 6.2)

    Jul 24, 2017 · How to compare two strings in Sightly/HTL? (AEM 6.2) Ask Question Asked 8 years, 7 months ago Modified 6 years, 1 month ago

  9. aem - AEM6.5 Passing paramater to the resource from HTL/Sightly ...

    Nov 18, 2022 · AEM6.5 Passing paramater to the resource from HTL/Sightly template Asked 3 years, 5 months ago Modified 3 years, 5 months ago Viewed 510 times

  10. AEM 6.x: How to pass an HTL variable to clientlib/JS?

    Mar 19, 2018 · Technique 2: (Old school) - Hidden variable - Add hidden variable into component rendering script; set the value of variable with HTL property and read the variable from clientside js …