I have created a simple template which refers to a html page.
I have parsys included in the html page.page is quite simple
<!DOCTYPE html>
<div data-sly-include="head.html"></div>
hiiiii
<div data-sly-resource ="${@path='par', resourceType='wcm/foundation/components/parsys'}"></div>
However when opened in a browser, it gives a blank page and logs say
"01.04.2015 15:38:40.446 *ERROR* [0:0:0:0:0:0:0:1 [1427882920251] GET /content/sitemap_trials.html HTTP/1.1] com.adobe.cq.sightly.WCMScriptHelper Failed to include script head.html
org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: No use provider could resolve identifier: libs.granite.sightly.templates.ClientLibUseObject
"
Once encountered this keeps happening for all my templates even if I restart the instance.
Could anyone help?
Solved! Go to Solution.
Views
Replies
Total Likes
sling:resourceSuperType should be 'wcm/foundation/components/page' instead of '/foundation/components/page'
Refer them for more Sightly topics/help
http://docs.adobe.com/content/docs/en/aem/6-0/develop/sightly.html
https://helpx.adobe.com/experience-manager/using/creating-sightly-component.html
Views
Replies
Total Likes
what is your sling:resourceSuperType ?
Views
Replies
Total Likes
sling:resourceSuperType should be 'wcm/foundation/components/page' instead of '/foundation/components/page'
Refer them for more Sightly topics/help
http://docs.adobe.com/content/docs/en/aem/6-0/develop/sightly.html
https://helpx.adobe.com/experience-manager/using/creating-sightly-component.html
Views
Replies
Total Likes
sling:resourceSuperType is wcm/foundation/components/page
Views
Replies
Total Likes
can you copy the head.js ,stats.js and initwcm.js to your page component and see?
Views
Replies
Total Likes
Hi,
I am getting same issue, when i have opened my page it is showing empty screen. Can you please help me how to resolve this issue.
I gave sling:resourceSuperType is wcm/foundation/components/page
Thanks,
Balu.
Views
Replies
Total Likes
Views
Likes
Replies