-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.2 EE GA1 (6.2.10)
-
Fix Version/s: 6.2.X EE
-
Component/s: Dynamic Data Mapping > Template Editor
Unable to include a portal taglib (through "taglibLiferayHash" or "PortalJspTagLibs") in a Dynamic Data Lists Display Template.
The following new method has been added to the DDL (com.liferay.portlet.dynamicdatalists.util.DDL) API:
/** * Taglib (JSTL) support in templates requires a {@link PageContext} * instance; if it's <code>null</code>, objects for taglib support are not * available in the template context. */ public String getTemplateContent( PageContext pageContext, long ddmTemplateId, DDLRecordSet recordSet, ThemeDisplay themeDisplay, RenderRequest renderRequest, RenderResponse renderResponse) throws Exception;
Usage:
com.liferay.portlet.dynamicdatalists.util.DDLUtil.getTemplateContent(PageContext, long, DDLRecordSet, ThemeDisplay, RenderRequest, RenderResponse)
- is related to
-
LPS-64507 Unable to include a portal taglib (through "taglibLiferayHash" or "PortalJspTagLibs") in a Dynamic Data Lists Display Template
- Closed