Highlighted

Printing Client Library using HtmlLibraryManager

sripadap4996627

09-10-2017

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.

Thanks,

Pallavi

Replies