Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-68028

Embedding Web Content Portlet in Theme does not work.

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0 DXP FP1
    • Fix Version/s: None
    • Component/s: Liferay Themes
    • Labels:
      None

      Description

      Following the instructions for embedding portlets in themes and layout templates:
      Reference: https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/embedding-portlets-in-themes-and-layout-templates

      1. When adding Portlet Provider Class for the the "Web Content Portlet" what shows in the theme is "Asset Publisher Portlet" instead of the Web Content Portlet which is expected.
      <@liferay_portlet["runtime"]
          portletProviderAction=portletProviderAction.VIEW
          portletProviderClassName="com.liferay.journal.model.JournalArticle"
      />
      

      There are multiple Components with the same model.class.name property. How can we know which one is picked up by the Portlet Provider Class Name:

      @Component(
          immediate = true,
          property = {"model.class.name=CLASS_NAME"},
          service = INTERFACE.class
      )
      

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            vzorge Vincent Zorge (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              4 years, 27 weeks, 3 days ago

                Packages

                Version Package