How to add listeners in content fragments | Community
Skip to main content
New Participant
Jun 19, 2019 4:59 PM UTC
Solved

How to add listeners in content fragments

We are using content fragments for few pages and now I have requirement to populate dropdown dynamically, would it be possible to write listeners in content fragments? . Not able to find docs, any pointers would be helpful

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Accepted solution
Jun 29, 2019 3:08 PM UTC

If you need to populate this dynamically - why use content fragment in the first place. I would look at writing HTL/Sling Model component where you have a lot more control using code.

4 replies

Accepted solution
Jun 29, 2019 3:08 PM UTC

If you need to populate this dynamically - why use content fragment in the first place. I would look at writing HTL/Sling Model component where you have a lot more control using code.

Translate
Mayank_Gandhi
Employee
Jun 27, 2019 11:14 AM UTC

kautuk sahni​ Can you please move the thread to AEM.

Translate
chaitu4uAuthor
New Participant
Jun 21, 2019 10:43 AM UTC

any update on this ticket

Translate
Mayank_Gandhi
Employee
Jun 19, 2019 5:23 PM UTC

kautuksahni​ Looks like an AEM core post. Can you please move it to the concerned thread.

Translate