aspose file tools*
The moose likes Portals and Portlets and the fly likes inter portlet communication b/w two page flow portlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "inter portlet communication b/w two page flow portlets" Watch "inter portlet communication b/w two page flow portlets" New topic
Author

inter portlet communication b/w two page flow portlets

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
I am using WebLogic Portal Server. I have two Page Flow Portlets on my page. I am trying to achieve inter portlet communication between them, also, I want to pass data between them.

Say I have two portlets A & B. A portlet throws (fires) an event when user clicks on any link on it. This I have achieved through following code:



Now portlet B should listen to the event fired by A. So I have a custom event handler on B, which listens to custom event named 'customEvent' and calls a page flow action method. Now in this method, I want to get some data which is being set by portlet A when user clicked on any link. The action method is getting called on portlet B but how do I pass data from A?

Hope I explained my situation clearly.

Any help in this regard is appreciated.

Thanks.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Is this a custom WebLogic API you are using to trigger these events, or are these JSR168 or JSR 286 APIs upon which you are programming?

Which API is this?

-Cameron McKenzie
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Cameron Wallace McKenzie wrote:Is this a custom WebLogic API you are using to trigger these events, or are these JSR168 or JSR 286 APIs upon which you are programming?

Which API is this?

-Cameron McKenzie


It seems WebLogic's own (custom) framework for IPC to me.
Tridib Samanta
Ranch Hand

Joined: Apr 28, 2004
Posts: 128
Check out this link...
http://blog.thej2eestruggle.com/2007/01/struggling-bea-ipc-inter-portlet.html
http://blog.thej2eestruggle.com/2007/02/struggling-data-transfer-in-weblogic.html

These two links saved my day!


Thanks, Tridib
SCJP 1.4, SCWCD 1.4, SCBCD 5.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: inter portlet communication b/w two page flow portlets