Fórum
Inter-Portlet Linking
Kevin Chan, modificado 15 Anos atrás.
Inter-Portlet Linking
New Member Postagens: 2 Data de Entrada: 06/02/09 Postagens Recentes
Hey all,
Here's the situation: I have two Birt report portlets, one is a report on a region and the other's on a country. The region report will have a table that shows information on the different countries in the region. I was wondering if it would be possible to make url links on the table redirect to the country portlet, which would then open with information on the appropriate country.
tldr: how do you create links from one portlet that will open a second with parameters?
I am not using the ext sdk and it would be nice if I didn't have to.
Thank you!
Here's the situation: I have two Birt report portlets, one is a report on a region and the other's on a country. The region report will have a table that shows information on the different countries in the region. I was wondering if it would be possible to make url links on the table redirect to the country portlet, which would then open with information on the appropriate country.
tldr: how do you create links from one portlet that will open a second with parameters?
I am not using the ext sdk and it would be nice if I didn't have to.
Thank you!
Manish Kumar Gupta, modificado 15 Anos atrás.
RE: Inter-Portlet Linking
Liferay Master Postagens: 535 Data de Entrada: 16/05/08 Postagens Recentes
This can be achieved easily using public render parameter feature of JSR 286 portlet.
You can find lot of articles for JSR 286 by googling it.
See http://portlet-container.dev.java.net for example portlets.
You can find lot of articles for JSR 286 by googling it.
See http://portlet-container.dev.java.net for example portlets.
kamalkant rajput, modificado 15 Anos atrás.
RE: Inter-Portlet Linking
Expert Postagens: 266 Data de Entrada: 10/04/08 Postagens RecentesKevin Chan:
Hey all,
Here's the situation: I have two Birt report portlets, one is a report on a region and the other's on a country. The region report will have a table that shows information on the different countries in the region. I was wondering if it would be possible to make url links on the table redirect to the country portlet, which would then open with information on the appropriate country.
tldr: how do you create links from one portlet that will open a second with parameters?
I am not using the ext sdk and it would be nice if I didn't have to.
Thank you!
Hi ,
You can achieve ur task by simply creating url for other portlet. like this:
<liferay-portlet:actionURL windowState="<%= window_state_u_want %>" portletName="ur_portlet_name">
<portlet:param name="struts_action" value="ur_action_path_for_other_portlet" />
</liferay-portlet:actionURL>"
hope this helps.
Gnaniyar Zubair, modificado 15 Anos atrás.
RE: Inter-Portlet Linking
Liferay Master Postagens: 722 Data de Entrada: 19/12/07 Postagens Recentes
Hi kevin,
Can you explain the steps for integrating and creating BIRT report ?
Thanks in advance.
- Gnaniyar Zubair
Can you explain the steps for integrating and creating BIRT report ?
Thanks in advance.
- Gnaniyar Zubair
Kevin Chan, modificado 15 Anos atrás.
RE: Inter-Portlet Linking
New Member Postagens: 2 Data de Entrada: 06/02/09 Postagens RecentesGnaniyar Zubair:
Hi kevin,
Can you explain the steps for integrating and creating BIRT report ?
Thanks in advance.
- Gnaniyar Zubair
Well I followed the instructions on http://wiki.eclipse.org/Portlet_Example_(BIRT)_2.1 but instead of the ServletContext, I just replaced it with the PortletContext and it worked. If you any more questions, feel free to pm or email me
@Manish Kumar Gupta & kamalkant rajput : thank you for your help, I got a workaround that I'm using right now but if that fails, I'll be looking to those instructions, ty