Hi ,
I have written a tag to externalize the urls on the rendered html on my page . I am using that tag to externalize <a href> and src attributes .
I want to externalize the <link rel="stylesheet" href="/etc/....." type="text/css"/> which is rendered from <cq:includeClientLib css="designs.testproject">
How can i use my tag which receives a URL as parameter to externalize URL rendered through a category name given in <cq:includeClientLib> tag.
My tag syntax is like this <o:link path="url to externalize"/>
Please help in this .
Solved! Go to Solution.
Hi,
You can do this with a rewriter transformer. See https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/main/java/com/ad... for an example of something similar.
Regards,
Justin
Hi,
You can do this with a rewriter transformer. See https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/main/java/com/ad... for an example of something similar.
Regards,
Justin
There is also an example in the docs (in the context of a Dispatcher implementation)
scott
Views
Replies
Total Likes