I'm not sure if this is the correct group so please let me know if I
should post this over at Shindig. I have installed shindig and have it
serving up basic gadgets just fine from my localhost, but when I try
to do something apart from echo strings I get the following error in
firebug:

missing ) in parenthetical

[Break on this error] (uiv="Content-Type" content="text/html;
charset=ISO-8859-1"/>\nCoreJsFeature

6gZqwg2JpuM.js (line 84)

When I grep the shindig source I can see that the javascript file is
hardcoded into the CoreJsFeature class in java/gadgets/src/main/java/
org/apache/shindig/gadgets/CoreJsFeature.java

If I remove the call to _IG_RegisterOnloadHandler from my gadget the
error goes away.

If I comment out the line:
gadget.addJsLibrary(JsLibrary.file("http://gmodules.com/ig/extern_js/f/
CgJlbhICdXMrMAE4ACw/6gZqwg2JpuM.js"));
in CoreJsFeature.java and recompile I get the following errors in
firebug:

_IG_TriggerEvent is not defined
[Break on this error] <script>_IG_TriggerEvent("domload");</script></
body></html>
ifr (line 45)
_IG_RegisterOnloadHandler is not defined
[Break on this error] _IG_RegisterOnloadHandler(displayMenu);

It seems like a syntax error in the javascript, but the real problem
for me is that I uploaded the same gadget to googlecode and then
referenced the svn url through orkut and it worked just fine. So I
would assume the the OpenSocial container that Orkut is uses isn't
using the 6gZqwg2JpuM.js to provide _IG_RegisterOnloadHandler.

How can I resolve this issue?

thanks in advance for any help...




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Implementing OpenSocial Containers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-container?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to