You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Kevin Brown (JIRA)" <ji...@apache.org> on 2008/01/25 01:14:34 UTC

[jira] Commented: (SHINDIG-37) Shindig won't cajole non-opensocial gadgets

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

Kevin Brown commented on SHINDIG-37:
------------------------------------

This isn't the case. Passing &caja=1 will cajole the gadget. opensocial-samplecontainer does some black magic to make it appear to work and do the right thing, but what it's really doing is not how it should work in prod.

The remaining outstanding issue with cajoling right now is that passing &caja=1 does the cajoling process, but it does not pull in the necessary javascript libraries. To do that we must either make caja a core js library or force a <Require feature="caja">. The latter is easier, but I'm not sure it's the way that we ultimately want things to work.  For testing purposes you can manually add <Require feature="caja"/> to the gadget and modify the iframe url to add &caja=1. I'll modify the title of this to better address the core of the problem.

> Shindig won't cajole non-opensocial gadgets
> -------------------------------------------
>
>                 Key: SHINDIG-37
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-37
>             Project: Shindig
>          Issue Type: Bug
>          Components: Gadgets Server - Java
>            Reporter: Christopher Rohrs
>            Assignee: John Hjelmstad
>            Priority: Minor
>
> Caja does not work for simple non-OpenSocial gadgets like http://www.google.com/ig/modules/hello.xml.  In particular, I get a JS error because "___" is not defined.    It appears that caja.js is only included if <Require feature="opensocial-samplecontainer">.  This should not be the case.

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