• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

inter portlet communication b/w two page flow portlets

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic