How data-sly-resource will work internally in AEM?

Avatar

Avatar

Kkkrish

Avatar

Kkkrish

Kkkrish

21-08-2016

How "data-sly-resource" will work in AEM. i.e. how this sightly tags are being rendered. where can i find these sightly related libraries and the code base.?

Regards,

Kk.

Replies

Avatar

Avatar

RMGJID

Avatar

RMGJID

RMGJID

21-08-2016

Hi KK,

1. Go to felix console (/bundles) and search for fsclassloader jar file. Make a note of the bundle number (E.g., 305)

2. Go to crx-quickstart/launchpad/felix and search for the bundle number.

4. All the converted java classes and compiled classes are stored here;  \crx-quickstart\launchpad\felix\bundle<bundlenumber>\data\classes\org\apache\sling\scripting\sightly

5. Open the java files to know how the files are converted and rendered.

Please note that you can also find the compiled jsp here \crx-quickstart\launchpad\felix\bundle<bundlenumber>\data\classes\org\apache\jsp

*replace bundle number with the fsclassloader bundle number from your felix console

Avatar

Avatar

Kkkrish

Avatar

Kkkrish

Kkkrish

21-08-2016

RMGJID wrote...

Hi KK,

1. Go to felix console (/bundles) and search for fsclassloader jar file. Make a note of the bundle number (E.g., 305)

2. Go to crx-quickstart/launchpad/felix and search for the bundle number.

4. All the converted java classes and compiled classes are stored here;  \crx-quickstart\launchpad\felix\bundle<bundlenumber>\data\classes\org\apache\sling\scripting\sightly

5. Open the java files to know how the files are converted and rendered.

Please note that you can also find the compiled jsp here \crx-quickstart\launchpad\felix\bundle<bundlenumber>\data\classes\org\apache\jsp

*replace bundle number with the fsclassloader bundle number from your felix console

 

No I dont find the sightly related classes under this path. i can see only JSP folder as shown in the image.

Also i wanted to know how this sightly library internally works in AEM and the resources are binding and generating the divs into the HTML pages with CSS classes added to it.