Hi,

for me it doesn't work:

For Wookie Widgets i use the feature

<feature name="http://www.openajax.org/hub"; required="true"/>

thereby i can use hub.subscribe and hub.publish -- all fine for communication between wookie widgets. For Opensocial i use the feature

<Require feature="pubsub-2">

thereby i can access the hub by gadgets.Hub.subscribe and gadgets.Hub.publish -- all fine for communication between Opensocial Widgets.

There are 2 instances of the OpenAjax hub (window.hub and window.gadgets.Hub) - that should be the reason why communication between OpenSocial and Wookie Widgets doesn't work at the moment. I'm wrong?

I think it should be possible to communicate between W3C and OpenSocial Widgets - this would simplyfy some things and would RAVE more "attractive" for some people.

Christian



On 30 Aug 2012, at 16:50, Christian Fischer wrote:

Hi all,

i try a bit with the OpenAjax pubsub Feature. For my Testsystem it is not 
possible to publish soemthing from a wookie-widget to a shindig-widget or vice 
versa.

I think for a portal like the Rave portal it should be possible to receive 
messages from other widgets too.

How can I easily get a communcation between shindig and wookie via pubsub?
It should work already; however widgets need to declare the openajax feature as 
required. E.g. in the W3C widgets' config.xml it needs to have:

<feature name="http://www.openajax.org/hub"; required="true"/>

It should then be capable of pubsub when deployed in Rave.


Greets & thanks,
Christian

Reply via email to