Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-14849

Unable to include a portal taglib (through "taglibLiferayHash" or "PortalJspTagLibs") in a Dynamic Data Lists Display Template

    Details

      Description

      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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dustin.ryerson Dustin Ryerson (Inactive)
                Reporter:
                tibor.lipusz Tibor Lipusz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  6.2.X EE