Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Is there the equivalent of requestScope variables in Sightly?

Avatar

Level 2

In jstl you can set variables in on component that are available to all other components after it in the same request. In AEM using sightly is there an equivalent way to pass data between components.

(the use case we are looking at is where we want one component to know when it's included via another component, rather than dragged into a parsys).

1 Accepted Solution

Avatar

Correct answer by
Level 10

In slightly there is no Accessing Scoped equivalent and are only visible within the slightly template.  From one of the training I heard was there is no plan in the future because this can lead variables leek into other contexts.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

In slightly there is no Accessing Scoped equivalent and are only visible within the slightly template.  From one of the training I heard was there is no plan in the future because this can lead variables leek into other contexts.

Avatar

Employee

See full-length answer to the corresponding question on StackOverflow:
http://stackoverflow.com/questions/25430981/are-there-requestscope-variables-in-sightly/25447524#254...