Hi,
In liferay till version 6.2, Very easy way to display journal article using `liferay-ui:journal-article`. The `liferay-ui:journal-article` tag has been removed. Now, You should use the `liferay-ui:asset-display` tag instead. below is the piece example for how to use it.
**Example**
Old code:
<liferay-ui:journal-article
articleId="<%= article.getArticleId() %>"
/>
New code:
<liferay-ui:asset-display
className="<%= JournalArticle.class.getName() %>"
classPK="<%= journalArticle.getResourcePrimKey() %>"
template="<%= AssetRenderer.TEMPLATE_FULL_CONTENT %>"
/>
HTH!!
In liferay till version 6.2, Very easy way to display journal article using `liferay-ui:journal-article`. The `liferay-ui:journal-article` tag has been removed. Now, You should use the `liferay-ui:asset-display` tag instead. below is the piece example for how to use it.
**Example**
Old code:
<liferay-ui:journal-article
articleId="<%= article.getArticleId() %>"
/>
New code:
<liferay-ui:asset-display
className="<%= JournalArticle.class.getName() %>"
classPK="<%= journalArticle.getResourcePrimKey() %>"
template="<%= AssetRenderer.TEMPLATE_FULL_CONTENT %>"
/>
HTH!!
I am getting the below error after adding the above tag:
ReplyDeleteUnable to include JSP /asset/full_content.jsp
Any idea how to fix this