Foros de discusión

How to give portletName in liferay-portlet:renderURL?

Rajat Pancholy, modificado hace 6 años.

How to give portletName in liferay-portlet:renderURL?

New Member Mensajes: 5 Fecha de incorporación: 10/06/17 Mensajes recientes
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 hace 6 años.

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

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
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 hace 6 años.

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

New Member Mensajes: 5 Fecha de incorporación: 10/06/17 Mensajes recientes
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.