-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, Master
-
Fix Version/s: 7.1.0 Beta 3, 7.1.X, Master
-
Component/s: ~[Archived] UI Taglibs
-
Labels:None
-
Fix Priority:4
-
Git Pull Request:
It's currently not possible to use the soy:template-renderer tag inside Web Content Freemarker Templates.
Steps to reproduce:
Create a simple Web Content Structure and associate a Web Content Template using the following code
<#assign liferay_soy = taglibLiferayHash["/META-INF/resources/soy.tld"] /> <#assign context = {"spritemap": "${themeDisplay.getPathThemeImages()}/lexicon/icons.svg", "symbol": "sheets"} /> <@liferay_soy["template-renderer"] context=context templateNamespace="ClayIcon.render" />
Expected:
Template renders and shows an icon
Current result:
Exception is thrown. See attached image