How to display web content in custom portlet?


In view.jsp:
<%@page import="com.liferay.portal.kernel.language.LanguageUtil"%>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@ taglib uri="http://liferay.com/tld/theme" prefix="theme" %>
<%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui"%>
<theme:defineObjects/>

<portlet:defineObjects />

This is the <b>JPortlet</b> portlet in View mode.
<liferay-ui:journal-article showTitle="false" articleId="16303"

groupId="<%= themeDisplay.getScopeGroupId() %>" />

Search This Blog

All the rights are reserved to this blog is belongs to me only.. Powered by Blogger.