Skip to main content
Level 4
Oct 16, 2015 2:28 AM UTC
Solved

Sightly example docs

A query regarding the reference docs: http://docs.adobe.com/docs/en/aem/6-0/develop/sightly/use-api-in-javascript.html.

Are the Simple Example code listings correct?  The html code mentions info.js but the data-sly-use directive specifies "Info" and the subsequent content tree shows "Info.java".  This is confusing...

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Feike_Visser1
Feike_Visser1Accepted solution
Adobe Employee
Oct 16, 2015 2:28 AM UTC

2 replies

Feike_Visser1
Adobe Employee
Feike_Visser1Adobe EmployeeAccepted solution
Adobe Employee
Oct 16, 2015 2:28 AM UTC
Sham_HC
Level 10
Oct 16, 2015 2:28 AM UTC

In Sightly you can have Use-API in both JavaScript & Java. Agree in docs at one location It has to be Info.js.  Consider has Info.js and proceed with the case it will work.  I have put the annotation in the page with your feedback.  Hopefully author will fix it soon. 

[img]Screen Shot 2015-05-10 at 9.03.16 AM.png[/img]

Translate