On Wed, Nov 24, 2010 at 7:08 AM, cearl <[email protected]> wrote:
> Is there any advice on gadgets that will work under wiab? For example, > although > http://wave-api.appspot.com/public/gadgets/areyouin/gadget.xml > works fine, I can't seem to get the hello world gadget > http://code.google.com/apis/gadgets/docs/gs.html > running when it is hosted simply in war/static of my wiab server, nor > will gadgets work when hosted on shindig that I am running locally. > That is, the red "Everything's shiny..." alert appears after these > gadgets are loaded. > I'll look more carefully, with the assumption this is something > obvious that I have missed. > Is your wiab sever accessible form the internet? How gadgets work is that the client first makes a request to a gadget server (a google server) with the gadget XML. the gadget server then fetchs your gadget xml file. If your xml file is not accessible on the internet, it'll cause the gadget to shiny as no gadget info is returned to the client. Btw, the shiny is a bug. The client should simply have a broken jigsaw rather than a shiny. Just to pass on the knowledge around, I've created a starter project ( http://code.google.com/p/wave-protocol/issues/detail?id=166&q=label:StarterProject&sort=-id) for anyone that's keen to fix this bug :) You can run your own shindig gadget server and make your wiab point to it by setting the gadget_server_hostname flag to your host name when you start your WIAB. This is necessary if you don't want to have your XML file accessible on the internet. > C > > On Nov 2, 9:01 am, Vega <[email protected]> wrote: > > Thegadgetfrom the url you provided works fine for me in Google Wave. > > > > On Nov 2, 3:56 pm, Tobias Bachthaler <[email protected]> > > wrote: > > > > > > > > > > > > > > > > > Hey, > > > > > Thanks for the answer. But if you look at my code, I don't call > > > wave.getState() in init. > > > And I only have a problem after pressing a button, when I call > > > getState() > > > This is long time after initialization and callback registering > > > > > I remind you also that 1. mygadgetand 2. this demo application > > > counter (FROM THE WAVEGADGETAPI SITE) > > > worked fine until last Friday and I just don't understand why it is > > > not working anymore! > > > > > Please could someone test the testgadgethttp:// > 217.10.12.136:8080/wave/auction2.xml > > > If I do this I get wave.getState() == null > > > > > Please Google help me I have a presentation of my work Thursday!!! > > > > > Tobias > > -- > You received this message because you are subscribed to the Google Groups > "Wave Protocol" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<wave-protocol%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/wave-protocol?hl=en. > > -- David Wang -- You received this message because you are subscribed to the Google Groups "Wave Protocol" 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/wave-protocol?hl=en.
