-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.2 CE GA3, 6.1.30 EE GA3, 6.1.X EE, 6.2.5 CE GA6, 6.2.10 EE GA1, 7.0.0 CE RC1
-
Fix Version/s: 6.2.X EE, 7.0.0 CE RC1
-
Labels:
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:3
-
Sprint:Sprint 13: Mar, 21 - Apr, 01
-
Git Pull Request:
- Create a Display Template for the "ToDo" Data Definition (DD):
<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] /> <@liferay_ui["icon"] iconCssClass="icon-print" message="print" url="https://www.google.com" />
- Create a new Dynamic Data List (DDL) using the "ToDo" DD
- Add DDL Display Portlet to the Welcome page
- Configure portlet to use the list
- Configure portlet to use the Display Template we created in step 1
- Add a record
Result:
The following has evaluated to null or missing: ==> PortalJspTagLibs [in template "20202#20246#30516" at line 2, column 23] ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign liferay_ui = PortalJspTagLibs... [in template "20202#20246#30516" at line 2, column 1] ----
This code doesn't work either:
<#assign liferay_ui = PortalJspTagLibs["/WEB-INF/tld/liferay-ui.tld"] />
- relates
-
LPE-14849 Unable to include a portal taglib (through "taglibLiferayHash" or "PortalJspTagLibs") in a Dynamic Data Lists Display Template
-
- Closed
-