[ 
https://issues.apache.org/jira/browse/SHINDIG-1330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919957#action_12919957
 ] 

Kevin Parkerson commented on SHINDIG-1330:
------------------------------------------

Hi there,

I have yet another question for your team. Thus far we've been using the 
default gadget rendering methods (shindig.container.createGadget, 
shindig.container.addGadget, and ashindig.container.renderGadget) in order to 
utilize the pubsub-2 feature. However, we would like to be able to render 
gadgets programmatically by generating the url as specified on 
https://cwiki.apache.org/confluence/display/SHINDIG/iframe+url+format and 
setting it to the src element of an iframe. We've done this in the past and 
features such as RPC, tabs, and the old pubsub mechanism worked without 
problem, but because pubsub-2 changes how the gadgets are rendered it seems 
they cannot utilize the new pubsub-2 feature. I assume this is the result of 
not registering the appropriate values with the Shindig/OAA gadget framework. 
Is there a way to add programmatically created gadgets to the framework as the 
default rendering methods do? As before, any help with this would be greatly 
appreciated. Thanks again!

Kevin

> Incorporate OpenAjax Hub as Pub-Sub Mechanism for Shindig (Open Social 1.next)
> ------------------------------------------------------------------------------
>
>                 Key: SHINDIG-1330
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1330
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript 
>    Affects Versions: 2.0.0
>         Environment: Shindig trunk.
> Java 5
> Windows
> FireFox, Safari, Chrome
>            Reporter: Han Nguyen
>             Fix For: 2.0.0
>
>         Attachments: pubsub2.patch
>
>
> This patch is an initial alpha implementation by Javier Pedemonte 
> (OpenAjaxHub/IBM) based on the proposal described here
> http://wiki.opensocial.org/index.php?title=Incorporate_Open_Ajax_Hub_as_Pub-Sub_Mechanism_for_OpenSocial_1.next
> While there are still more work, the patch provides a new pubsub feature 
> which uses OAHub as the underlying eventing model. 
> The /content/container/sample-pubsub-2.html demonstrates a simple pubsub 
> example using the feature.
> API documentation can be found in the comments of the 
> /javascript/features/pubsub-2/pubsub-2.js

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to