Inter Portlet Subscription/Notification Mechanism (Client side)
How to make portlets in the same page use a Subscription/Notification Mechanism client side.
Pre-development Actions
Subscription/Notification Mechanism makes use of TIBCO PageBus™ (http://www.tibco.com/devnet/pagebus/default.jsp) which is an event and message bus implemented in JavaScript that enables disparate Ajax elements in a Web page to broadcast and listen for events and messages published on topic names.
For the ones developing portlets with GWT Wrapper exists for this Library, http://code.google.com/p/tibcopagebus4gwt/
However, the library does not currently support GWT 5.2, D4Science Portlets will have to use the same library modified to be compliant to GWT 5.2.
How does TIBCO PageBus™ work
If you want you can also apply the respective changes to gridsphere's home directory. This can be useful if, for some reason, you want to redeploy gridsphere.
Installing GWT
- Download the latest version of GWT from here.
- Uzip the file.
- Set environmntal variable: GWT_HOME=<the name of the folder where you unpacked gwt files>