JournalArticle journalArticle = (JournalArticle) assetEntry.getAssetRenderer().getAssetObject();



Try to make exception specific and descriptive






When using liferay tag for journal article, classPK is resourcePrimKey, but articleId as resourcePrimKey is the one stored in assetentry



Comments

Popular posts from this blog

How to include CSS, JS and Image in Liferay Portlet JSP

GoGo Shell & What can be deleted in Liferay Instance