Sightly example docs | Community
Skip to main content
New Participant
October 16, 2015
Solved

Sightly example docs

  • October 16, 2015
  • 2 replies
  • 762 views

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.

2 replies

Sham_HC
New Participant
October 16, 2015

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]

Feike_Visser1
Feike_Visser1Accepted solution
Employee
October 16, 2015