Message Boards

Render URL not working in Portlet Run Time Tag

thumbnail
Bangaru Raju Potnuru, modified 4 Years ago.

Render URL not working in Portlet Run Time Tag

New Member Posts: 22 Join Date: 11/22/14 Recent Posts
Hi Team,
I have Created two modules(First and Second) and I  embedded the first  module  into second module using "Portlet run time tag".
But The problem is render URL which is  there in first module not working.So could you guys help me.

Here is the code :

First Module:
<liferay-theme:defineObjects />
<portlet:defineObjects />
 <portlet:renderURL var="url1"></portlet:renderURL>
 <a href="<%=url1%>">Clik me</a>
Second Module:
<liferay-theme:defineObjects />
<portlet:defineObjects />
<liferay-portlet:runtime  portletName="firstmodule"   /> Regards,
P.V.B.Raju.
thumbnail
Mohammed Yasin, modified 4 Years ago.

RE: Render URL not working in Portlet Run Time Tag

Liferay Master Posts: 591 Join Date: 8/8/14 Recent Posts
Hi,
 Try using  <liferay-portlet:renderURL var="url1" portletName="firstmodule" />