Whoops, sorry, replied to the wrong thread.

I'll ask the gadgets API engineer to look at your question.


On Feb 18, 10:40 am, "pamela (Google Employee)" <[email protected]>
wrote:
> Hi Matt-
>
> I see two issues. One is that you should close the quote on the style tag.
>
> <div id="debugDiv" style="width:100%;></div>
>
> The other more major issue is that you try to pass in the debugDiv DOM
> node before it exists. (The script tag is executed before the DOM is
> loaded). You can either move your HTML above your script tag, or you
> can move the miniMsg initialization into the body load callback.
>
> - pamela
>
>
>
> On Thu, Feb 11, 2010 at 9:38 AM, Matt <[email protected]> wrote:
> > Hi All,
> > I am working on a native client for google wave. I'm currently trying
> > to get gadgets rendering.
>
> > I see that each gadget is rendered in an iframe. The url for the
> > iframe looks like:
>
> >https://1927502848-wave-opensocial.googleusercontent.com/gadgets/ifr?...
>
> > The generated html for the gadget in the iframe references two js
> > files:
> > -
> >https://www-wave-opensocial.googleusercontent.com/gadgets/js/core:rpc...
> > -http://wave-api.appspot.com/public/wave.js
>
> > If you follow the initialization logic, you will find that eventually
> > callbacks are registered with gadgets.rpc using the register function
> > for state and participant changes. gadgets.rpc has a functions called
> > "receive" which fires the appropriate callback. However, I can't
> > figure out who calls the "receive" function.
>
> > Q: Is the "receive" function called by the html/js on the parent
> > document (document finds that state is updated and calls the
> > gadgets.rpc.receive function) or is the receive function triggered
> > "out of band" where the wave server directly "calls" the "receive"
> > function when the state changes?
>
> > Thanks in advance for any help.
> > Regards
>
> > Matt
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Wave API" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-wave-api%2Bunsubscribe@ 
> > googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-wave-api?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" 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/google-wave-api?hl=en.

Reply via email to