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

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

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.


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

Posted by "Kevin Brown (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (SHINDIG-37) Caja feature javascript is not included when forcing cajoling through &caja=1

Posted by "Dan Peterson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562976#action_12562976 ] 

Dan Peterson commented on SHINDIG-37:
-------------------------------------

To add a little more detail, I believe Casie is saying that the gadgets.* <--> Caja bindings are not yet implemented, while the opensocial.* <--> Caja bindings are implemented.

> Caja feature javascript is not included when forcing cajoling through &caja=1
> -----------------------------------------------------------------------------
>
>                 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.


[jira] Closed: (SHINDIG-37) Caja feature javascript is not included when forcing cajoling through &caja=1

Posted by "Kevin Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Brown closed SHINDIG-37.
------------------------------

    Resolution: Later

Closing this one since it doesn't fit in with the current caja integration anymore. 

> Caja feature javascript is not included when forcing cajoling through &caja=1
> -----------------------------------------------------------------------------
>
>                 Key: SHINDIG-37
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-37
>             Project: Shindig
>          Issue Type: Bug
>          Components: Gadget Rendering Server (Java)
>            Reporter: Christopher Rohrs
>            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.


[jira] Commented: (SHINDIG-37) Caja feature javascript is not included when forcing cajoling through &caja=1

Posted by "Bruno Bowden (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562313#action_12562313 ] 

Bruno Bowden commented on SHINDIG-37:
-------------------------------------

Anything we can do to minimize the work needed by a developer to support Caja is a very good thing. Furthermore as Caja improves, we'll be able to Cajole more and more gadgets without developer modifications. If that Gadget can become Cajoled without the author having to work on it, that would be great.

What concerns me is that many of the Caja failures are likely to be at run time instead of compile time. So should a gadget author have the ability to ask for their gadget not to be Cajoled incase they know it doesn't work? If don't give that option, we may need to monitor Caja runtime failures and fall back to the iFrame for certain gadgets.

> Caja feature javascript is not included when forcing cajoling through &caja=1
> -----------------------------------------------------------------------------
>
>                 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.


[jira] Updated: (SHINDIG-37) Caja feature javascript is not included when forcing cajoling through &caja=1

Posted by "Kevin Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Brown updated SHINDIG-37:
-------------------------------

    Summary: Caja feature javascript is not included when forcing cajoling through &caja=1  (was: Shindig won't cajole non-opensocial gadgets)

> Caja feature javascript is not included when forcing cajoling through &caja=1
> -----------------------------------------------------------------------------
>
>                 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.


[jira] Commented: (SHINDIG-37) Caja feature javascript is not included when forcing cajoling through &caja=1

Posted by "Cassie Doll (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562338#action_12562338 ] 

Cassie Doll commented on SHINDIG-37:
------------------------------------

The issue isn't as simple as just requiring the caja library right now. Work needs to be done to "allow" the gadgets api calls in caja. I can work on this soon as it will require some integration with the opensocial caja modifications. (Although, some one can feel free to add a patch if you know what to do!) 

> Caja feature javascript is not included when forcing cajoling through &caja=1
> -----------------------------------------------------------------------------
>
>                 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.


[jira] Assigned: (SHINDIG-37) Caja feature javascript is not included when forcing cajoling through &caja=1

Posted by "Kevin Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Brown reassigned SHINDIG-37:
----------------------------------

    Assignee:     (was: John Hjelmstad)

Marking unassigned to indicate that nobody is actively working on this issue. Anyone interested in helping the project should should consider working on this issue.

> Caja feature javascript is not included when forcing cajoling through &caja=1
> -----------------------------------------------------------------------------
>
>                 Key: SHINDIG-37
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-37
>             Project: Shindig
>          Issue Type: Bug
>          Components: Gadgets Server - Java
>            Reporter: Christopher Rohrs
>            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.