Fórum

How to give portletName in liferay-portlet:renderURL?

Rajat Pancholy, modificado 6 Anos atrás.

How to give portletName in liferay-portlet:renderURL?

New Member Postagens: 5 Data de Entrada: 10/06/17 Postagens Recentes
I am using Liferay Community Edition Portal 7.0.2 GA3, and I am struggling to open another portlet in a pop-up window from one portlet. The pop-up opens but nothing is displayed in there.
One confusion I have that what to set to portletName in <liferay-portlet:renderURL> in the JSP Page? I tried some methods given in this forum but none worked.
Can anyone help out with the correct syntax of <liferay-portlet:renderURL> that I should use to create a URL of the second portlet?
thumbnail
David H Nebinger, modificado 6 Anos atrás.

RE: How to give portletName in liferay-portlet:renderURL?

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
You can't do nonsense like this. The portal never refers to portlets by name, all of it is by plid. You shouldn't even be trying to derive that, you have no idea what context the other portlet requires before rendering the page...







Come meet me at the 2017 LSNA!
Rajat Pancholy, modificado 6 Anos atrás.

RE: How to give portletName in liferay-portlet:renderURL?

New Member Postagens: 5 Data de Entrada: 10/06/17 Postagens Recentes
Okay, I see that..
Then how can I fetch Portlet ID? I tried going to the Look & Feel Configuration of any specific portlet but in all portlets, there's no Portlet ID displayed.