Hello All - I have a component which captures the script/clientlib url (Based on taglib) from the author and evaluating the tags and load the respective script on the page.
taglib.jsp
<%@include file="/libs/foundation/global.jsp" %>
<%@ taglib uri="http://company.com/clientLib-taglib" prefix="evaltag" %>
Component.html
<div data-sly-include="taglib.jsp"></div>
<sly data-sly-test.editor="${wcmmode.edit}">
<p>
ClientLib Component
</p>
</sly>
${properties.html @ context='unsafe'}
Authored scripts:
<evaltag:includeClientLibs async="true" defer="false" css="homePageClientlibs" verName="${projectVersion}" />
Basically I am trying to replace the taglib with our custom tags and load it on the page. For some reason, it is not working. The issue is with rendering and not with the taglib. Can someone tell me what could be the issue.
Solved! Go to Solution.
Views
Replies
Total Likes
Hello,
I just OOTB global.jsp and it seems sightly doesn't support taglib
plz refer this as well - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-use-sling-2-0-tagli...
Hello,
I just OOTB global.jsp and it seems sightly doesn't support taglib
plz refer this as well - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-use-sling-2-0-tagli...
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies