I am working on a portlet which accepts the portlet ids and renders those portlets. So, basically you can think of something like a container portlet.
When the container portlet has a value <use-default-template>false</use-default-template>
in liferay-portlet.xml
, everything works fine. It is able to render the portlet via tag <liferay-portlet:runtime portletName="1_WAR_sampleportlet" />
But, if I make the entry <use-default-template>true</use-default-template>
for the container portlet (or just remove the tag, as default is true
), it simply ignore the <liferay-portlet:runtime />
tag and shows nothing.
The other information are
- Liferay version : liferay 6.2 EE
- Java version : Java 7
- Portlet Type : Spring MVC portlet