Is there the equivalent of requestScope variables in Sightly? | Community
Skip to main content
James_Lelyveld
Level 2
October 16, 2015
Solved

Is there the equivalent of requestScope variables in Sightly?

  • October 16, 2015
  • 2 replies
  • 1190 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

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.

2 replies

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

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.

GabrielWalt
Adobe Employee
Adobe Employee
October 16, 2015

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