Skip to main content
Level 5
Jul 16, 2016 5:21 PM UTC
Solved

How Sightly Template Include Implicit Objects

Hi,

As we know in .jsp script file, we include  global.jsp to include the implicit object. But in .html file of sightly, how these made available so we can use object like properties etc. Need to know the flow.

Thanks,

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
GK-007
GK-007Accepted solution
Level 9
Jul 16, 2016 6:13 PM UTC

No need to do anything explicitly for getting implicit objects.They are available by default ,this is one of the advantage of Sightly component.

Could you please explore more on your use case...

Thanks,

Kishore

3 replies

Level 4
Jul 16, 2016 5:25 PM UTC

Read these AEM Sightly Articles - there is a lot of code that shows this: 

https://helpx.adobe.com/experience-manager/using/movie.html

https://helpx.adobe.com/experience-manager/using/aem_headline.html

Translate
GK-007
GK-007Accepted solution
Level 9
Jul 16, 2016 6:13 PM UTC

No need to do anything explicitly for getting implicit objects.They are available by default ,this is one of the advantage of Sightly component.

Could you please explore more on your use case...

Thanks,

Kishore

Translate
kautuk_sahni
Level 9
Jul 18, 2016 11:00 AM UTC

Hi

Kishore rightly mentioned, there is nothing to be added for implicit objects in Sightly.

 

Reference Link:-http://www.aemcq5tutorials.com/tutorials/sightly-new-features-vs-jsp-aem/#Sightly Implicit Objects

//Read Sightly Implicit Objects

 

~kautuk

Translate
Kautuk Sahni