How to set Portlet ID for portlet Jsp page in LR 6.2

thumbnail
Jamie Sammons, modified 4 Years ago. Regular Member Posts: 175 Join Date: 10/15/14 Recent Posts

Hi All,

If Login Portlet is there in Liferay 6.2, That Login portletId is like "#portlet_1" this portletId using in another custom portlet .

How to use Embedding a portlet in Custom portlet.

Thanks in advance.

 

thumbnail
Mohammed Yasin, modified 4 Years ago. Liferay Master Posts: 593 Join Date: 8/8/14 Recent Posts

Hi,

You can embed a portlet using  <liferay-portlet:runtime /> taglib,providing the portletName/Id. 

<%@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %>
<liferay-portlet:runtime  portletName=""></liferay-portlet:runtime>