In the
Inter iWidget Communication entry i talked about how to create a iWidget that can publish an event as well as create iWidget that can subscribe event. Now i wanted to test this inter iWidget communication inside WebSphere Portal Server. We have two options for using widgets in WebSphere portal, first is we can directly
use widgets on the Mashup Page of portal, or we can
wrap the widgets in portlet and then add those portlets on a portal page.
I used the steps outlined in
http://wpcertification.blogspot.com/2011/02/how-to-register-iwidget-for-use-on.html, to register and add widget on the Portal Mashup page
Then i followed few steps to create the wire between both widgets, these are the screen shots that i took along the way
Once the wires were create i could use them for inter widget communication like this