Back Forum Reply New

Invoking Portlet Controller in Another Page

Hi,   I have this senario. I have two pages (say Page1 and Page 2) with portlet in each page (Porlet A in Page 1 and Portlet B in Page2). Portlet A has three tabs (mulitiple controllers). My requirement is if i click a link in Page 2-Portlet B it has to invoke tab 2 (a controller mapped using Portlet Mode Parameter Handler Mapping )in Portlet A which is in Page 1.    Any suggestions and out of the box ideas are welcome.

Thanks in advance,
Saroj Kr

Hi,
Is it about jsr-168 portlets?
Portlets are  just fragments of one page. So when you think about how to call just on fragment of page you understand the point.
I've been investigated how one portlet could be callen from another in Oracle Portal, but didn't find good solution. After all i redisigned my application, so one portlet is not any more depend on other.

Antoni

I know two ways to do what You want:
1. IPC - Interportlet Communication - I use JBoss Portal in my work and JBoss portal has its own implementation of IPC, IPC is a extension to jsr 168
2. Every portlet container produces some ucls that pointer to some window and portlet in this window. Try this:
In Your controller in render phase see what produces renderResponse.createActionucl();
and put it in place where You need it.

If anyone know other ways to do that please give me know.

Adam
¥
Back Forum Reply New