Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Printing Client Library using HtmlLibraryManager


Level 3

Hi ,

I am using HtmlLibraryManager to print my client libraries .

I am using the following code to print the client libraries in the page.

HtmlLibraryManager m = getService(slingRequest);

String st="clientlibrarycategory"

m.writeJsInclude(slingRequest, this.getJspContext().getOut(), st);

the above successfully prints the following :

   <script type="text/javascript" src="/etc/designs/clientlibrarycategory/clientlibs.min.js"></script>

But I didn't get why the dependencies, and embeds didn't get printed ? Doesn't it support ,please reply.



1 Reply