Expand my Community achievements bar.

SOLVED

Sightly example docs

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Employee
2 Replies

Avatar

Level 10

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]

Avatar

Correct answer by
Employee