[
http://jira.amdatu.org/jira/browse/AMDATU-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10527#comment-10527
]
Ivo Ladage - van Doorn edited comment on AMDATU-160 at 12/15/10 5:40 PM:
-------------------------------------------------------------------------
The problem is that dashboard.js defines its own getIFrameUrl and
getMainContent methods. For pubsub-2 support this method has been refactored
and now uses a switch which invokes OpenAjax hub stuff only when a gadget uses
the pubsub-2 feature. This functionality is discarded by the dashboard.js as it
overrules the methods that implement this new functionality.
If I replace the overridden methods with just invocations of
shindig.container.renderGadget(gadget); the JS error doesn't appear anymore.
After some GUI fixes, I now get this error:
OpenAjax.hub.Error.BadParameters
I believe this is a missing piece in dashboard.js since the
sample-pubsub-2.html example that comes with shindig provides some JSon related
methods, not included in dashboard.js.
was (Author: ivol):
The problem is that dashboard.js defines its own getIFrameUrl and
getMainContent methods. For pubsub-2 support this method has been refactored
and now uses a switch which invoked OpenAjax hub stuff only when a gadget uses
the pubsub-2 feature. This functionality is discarded by the dashboard.js as it
overrules the methods that implement this new functionality.
If I replace the overridden methods with just invocations of
shindig.container.renderGadget(gadget); the JS error doesn't appear anymore.
After some GUI fixes, I now get this error:
OpenAjax.hub.Error.BadParameters
I believe this is a missing piece in dashboard.js since the
sample-pubsub-2.html example that comes with shindig provides some JSon related
methods, not included in dashboard.js.
> While loading a gadget, the pubsub2router (Shindig 2.0) is not initialized
> --------------------------------------------------------------------------
>
> Key: AMDATU-160
> URL: http://jira.amdatu.org/jira/browse/AMDATU-160
> Project: Amdatu
> Issue Type: Bug
> Components: Amdatu OpenSocial
> Affects Versions: 0.0.6
> Reporter: Naftali van der Loon
> Assignee: Ivo Ladage - van Doorn
> Priority: Critical
> Fix For: 0.1.0
>
> Attachments: pubsub2gadgets.zip
>
>
> While loading a gadget, the pubsub2router (Shindig 2.0) is not initialized,
> therefore a gadget cannot subscribe to the pubsub2router.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira