hitrust / google-wave-resources

Automatically exported from code.google.com/p/google-wave-resources
1 stars 0 forks source link

Gadget mode issues #444

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I've developed a little game application, for testing, that includes all 
the elements of a real-world app (cross-domain jsonp, dynamic loading etc). 
Basically, it works great so Waves has the capacity to be the front-end 
application platform we were hoping for, great job! 

http://www.risedevzone.com/pageitem.aspx?item=526 (game gadget xml)

But .... the application needs to handle the wave mode to support proper 
playback, so I included "wave-preview". From that point on I've become 
increasingly confused. What's the intended mechanism, what's a temporary 
solution etc?

I've written a minimalistic state test application to try and sort it out:

In the introduction "Get Ready to Wave", we're pointed to 
http://code.google.com/apis/wave. If I follow these instructions, on how to 
build a wave gadget, I'll get a gadget that doesn't work properly; it 
doesn't receive MODE changes and, thus, playback can't be supported.

http://www.risedevzone.com/pageitem.aspx?item=535 (wave xml)

On various place there are references to a "wave-preview". If I include 
this the gadget works according to documentation but, instead, it becomes 
sort of random; sometimes not working at all. This behavior is both browser 
and load-time dependent. Seems, at least for the moment, to work with 
Firefox but not with Chrome...

http://www.risedevzone.com/pageitem.aspx?item=536 (wave-preview xml)

Finally, if I implement the gadget the way the Google Map gadget is 
implemented it works! This, however, is quite different from the 
documentation. You need to provide a html-document, rather than the body 
portion only, and trigger the gadget yourself on body-load. Also the mode 
is passed to the callback as an argument, as opposed to using getMode, just 
to mention a few things.

http://www.risedevzone.com/pageitem.aspx?item=534 (map gadget style xml)

So, will it later on work according to documentation? And, if so, will the 
"Map Gadget workaround" still work?

Regards,
Ola

Original issue reported on code.google.com by hellgren...@gmail.com on 13 Nov 2009 at 5:38

GoogleCodeExporter commented 9 years ago
Hi Ola - There were several reported issues with wave-preview that were fixed 
in the 
Nov. 24th release. It looks like you were suffering from them. Please check 
wave-
preview now and see if it works for you.

Original comment by pamela.fox on 2 Dec 2009 at 11:11