Fórum
How to reuse (instanceable) my custom portlet more than one time in my page
Suresh Rangachari, modificado 12 Anos atrás.
How to reuse (instanceable) my custom portlet more than one time in my page
New Member Postagens: 14 Data de Entrada: 14/12/11 Postagens Recentes
Hi ,
I have created a custom portlet. The thing here is i need to use that PORTLET as many times in my page.
But as of now liferay allows it use it one per page. i cannot instance it. can any one suggest what configuration or setting i need to do to make
my portlet available for use for multiple times in my page.
note : i just changed the liferay-portlet.xml file's code as
<portlet>
<portlet-name>AddOnDirectory</portlet-name>
<icon>/icon.png</icon>
<instanceable>false</instanceable> --- modified this to <instanceable>true</instanceable>
But i get exception only in console and page was keeep on loading with title as status-liferay.....
Can any one please help.
Thank You in advance
I have created a custom portlet. The thing here is i need to use that PORTLET as many times in my page.
But as of now liferay allows it use it one per page. i cannot instance it. can any one suggest what configuration or setting i need to do to make
my portlet available for use for multiple times in my page.
note : i just changed the liferay-portlet.xml file's code as
<portlet>
<portlet-name>AddOnDirectory</portlet-name>
<icon>/icon.png</icon>
<instanceable>false</instanceable> --- modified this to <instanceable>true</instanceable>
But i get exception only in console and page was keeep on loading with title as status-liferay.....
Can any one please help.
Thank You in advance
Juhi Kumari, modificado 12 Anos atrás.
RE: How to reuse (instanceable) my custom portlet more than one time in my
Expert Postagens: 347 Data de Entrada: 12/12/11 Postagens Recentes
Hi Suresh,
This is the way to get more than one instance of a portlet. Try once again, make <instanceable>true</instanceable> in liferay-portlet.xml.
And then deploy to server. After that add your portlet instance as many you want on a page.
Thanks & Regards
Juhi
This is the way to get more than one instance of a portlet. Try once again, make <instanceable>true</instanceable> in liferay-portlet.xml.
And then deploy to server. After that add your portlet instance as many you want on a page.
Thanks & Regards
Juhi
Suresh Rangachari, modificado 12 Anos atrás.
RE: How to reuse (instanceable) my custom portlet more than one time in my
New Member Postagens: 14 Data de Entrada: 14/12/11 Postagens Recentes
Thanks Juhi that worked.
Thanks again...
Thanks again...