I have a page with lots of html code.when I am open the page , sidekick taking too much time to load.
my sample code is:I have two jsp files.
body.jsp
<html>
<cd:include script="head.jsp"/>
<cq:include script="content.jsp"/>
</html>
head.jsp: Side kick and all the css and js included in this file only
------------
<head>
<cq:include script="/libs/wcm/core/components/init/init.jsp"/>
<!--Include all CSS and js file here -->
<head>
If I am going place sidekick in body.jsp, in that case sidekick loaded properly without taking too much time but my component edit option is not working.Please suggest
Regards,
Solved! Go to Solution.
Views
Replies
Total Likes
I believe init.jsp has to load in the HTML head to work properly. init.jsp does quite a bit more than loading side kick - it initializes all the component editing. There are any number of things that can cause sidekick to take too long to load, including:
I'd take a look at your JavaScript error console in your browser and see if there are any obvious errors when you load init.jsp in the head.
Views
Replies
Total Likes
I believe init.jsp has to load in the HTML head to work properly. init.jsp does quite a bit more than loading side kick - it initializes all the component editing. There are any number of things that can cause sidekick to take too long to load, including:
I'd take a look at your JavaScript error console in your browser and see if there are any obvious errors when you load init.jsp in the head.
Views
Replies
Total Likes
How much time is it taking to load?
Views
Replies
Total Likes