PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-25992

It is not possible to display structured web-content in third-party portlet.

    Details

    • Liferay Contributor's Agreement:
      Accept
    • Similar Issues:
      Show 4 results 

      Description

      We implementing own portlet - this portlet shoudl display web-content by specified articleId.
      So, to do it we are using followed code:

      <%
      JournalArticleDisplay articleDisplay = JournalContentUtil.getDisplay(themeDisplay.getScopeGroupId(), String.valueOf(articleId), null, themeDisplay.getLanguageId(), themeDisplay);
      %>

      <%= displayArticle == null ? StringPool.BLANK : displayArticle.getContent() %>

      this works fine for normal articles - but in case we are trying to display template driven article - we always got null from getDisplay method.

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Contributed Solution Contributed Solution
          3m 59s 1 Alexey Kakunin 08/Mar/12 1:46 PM
          Contributed Solution Contributed Solution Community Resolved Community Resolved
          6s 1 Alexey Kakunin 08/Mar/12 1:46 PM
          Community Resolved Community Resolved Resolved Resolved
          326d 4h 1m 1 Mika Koivisto 28/Jan/13 5:48 PM
          Resolved Resolved Closed Closed
          2m 24s 1 Michael Saechang 28/Jan/13 5:50 PM

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 5 weeks, 2 days ago

                Development

                  Structure Helper Panel