Top "Sightly" questions

Sightly (now known as HTL) - the Apache Sling XSS-aware template language

Iteration (for loop) in sightly

I had used <c:forEach> in jstl. Now i want to use sightly. My usecase is to print …

for-loop iteration aem sightly
What is the difference between data-sly-use, data-sly-resource, data-sly-include, and data-sly-template?

What is the difference between: data-sly-use, data-sly-resource, data-sly-include, and data-sly-template? I am reading the doc on Sightly AEM and I …

aem sightly
Condition statements in sightly

In the Sightly templating language, for Adobe AEM6, how do I use a specific class if a condition is true? ${…

aem sightly aem-6
AEM6 Sightly: How to pass a parameter from HTML to a method from Java-model class?

I wanted to pass a parameter from html to WCMUse class. Java: public class ComponentHelper extends WCMUse { public void activate() …

aem sightly
Conditional Attributes in Sightly Templates (AEM/CQ)

In the Sightly templating language, for Adobe AEM6 (CQ), how do I add an attribute to an element only if …

aem templating sightly
AEM 6.1: Enable Rich text editor (RTE) plugins on Touch UI

for classic UI we can easily add the plugins inside rteplugins tag, Adobe built a great example on their Geometrix-Outdoor …

java aem sling sightly
AEM 6.0: Additional parameters when using data-sly-resource?

I am trying to implement something which I hope is relatively straight forward... I have one component (lets call it …

aem sightly
How to add conditional logic in sightly code for an HTML attribute

I tried searching but somehow i cannot get my way around thinking what do i need to add dynamic tags …

aem sightly
How to create a radio button in aem 6 touch dialog

I am having a touch UI component for which I am creating a dialog in AEM 6. I have a requirement …

dialog aem sightly htl
Expression Option Sightly

I was looking over the expression options used in sightly. I tried the below line of code, but it seems …

aem sightly