Details
-
Type:
Bug
-
Status: Closed
-
Resolution: Duplicate
-
Affects Version/s: 6.1.0 CE GA1
-
Fix Version/s: 6.1.1 CE GA2
-
Component/s: WCM > Web Content Administration
-
Labels:None
-
Environment:liferay 6.1.0 tomcat bundle
-
Liferay Contributor's Agreement:Accept
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.
Attachments
Issue Links
- duplicates
-
LPS-18364 AssetRenderer fails for Journal/Web Content utilising template when embeded in custom portlet due to incorrect class loader
- Closed