Fórum

How to pass values to popup page dynamically

Dhanush B, modificado 9 Anos atrás.

How to pass values to popup page dynamically

Junior Member Postagens: 56 Data de Entrada: 26/08/14 Postagens Recentes
Hi Friends
i have some categories in drop down list,if user select one category each main category have one subcategory,if subcategory was not there means user want to add new subcategory to main category for that i gave one button if user click that button popup will be open in that main category name should be there in disable mode,my problem was i want to fetch main category name in popup i tried that one but i am not getting if anyone have idea for this please share with me.
i have attached pages for easy to understand my requirement.

Thanks&Regards
B.Dhanush
thumbnail
Suresh Nimmakayala, modificado 9 Anos atrás.

RE: How to pass values to popup page dynamically

Liferay Master Postagens: 690 Data de Entrada: 18/08/04 Postagens Recentes
how you created a link with popup would help to help better

for Ex popurl is xURL


PortletURL xURL = renderResponse.createActionURL();
x.setParameter(a,"b");


or

<liferay-portlet:renderURL var="xURL" portletName="sample portlet" plid="<%=yourLayout.getPlid() %>">
<liferay-portlet:param name="ID" value="<%=primKey%>" />
</liferay-portlet:renderURL>
Dhanush B, modificado 9 Anos atrás.

RE: How to pass values to popup page dynamically

Junior Member Postagens: 56 Data de Entrada: 26/08/14 Postagens Recentes
Thanks for your reply suresh

I am not getting your idea can you please explain me clearly.
Thank you
Regards
B.dhanush
Dhanush B, modificado 9 Anos atrás.

RE: How to pass values to popup page dynamically

Junior Member Postagens: 56 Data de Entrada: 26/08/14 Postagens Recentes
hi friends,
if anyone have idea for my requirement please share with me.
Thanks&Regards
B.Dhanush