I am using Liferay 6.2 as my portal platform. my question is if there is a way to load portlet via ajax? providing only the portlet id.
e.g.
this is the portlet info:
<portlet>
<portlet-name>my_portlet</portlet-name>
<instanceable>false</instanceable>
<private-session-attributes>false</private-session-attributes>
<header-portlet-javascript>/js/my_portlet/app.js</header-portlet-
</portlet>
<portlet>
<portlet-name>my_portlet</portlet-name>
<display-name>My Portlet</display-name>
<portlet-class>com.ui.portlets.generic.GenericPortlet</portlet-class>
<init-param>
<name>view-template</name>
<value>/view.jsp</value>
</init-param>
<expiration-cache>0</expiration-cache>
<supports>
<mime-type>text/html</mime-type>
</supports>
<portlet-info>
<title>myportlet</title>
</portlet-info>
</portlet>
i want from the client side (by javascript) to get the render html portlet and also all it's params and included files?