Oh, heh. Didn't mean to cause that much bother. :| But thanks! http://rnfn-googlewave-gadgets.googlecode.com/svn/trunk/xbox-gamercard.xml is the file. I'm likely doing something really and obviously daft. I think the problem is/related-to the fact that "if(!wave||! wave.isInWaveContainer())" returns false. Thanks and sorry for any blatant stupidity.
--nerd_boy On Oct 13, 10:36 pm, "pamela (Google Employee)" <[email protected]> wrote: > Okay, please post a link to your code if you need help debugging. I might > also suggest reading the Debugging Gadgets > article:http://code.google.com/apis/wave/articles/gadgetdebugging.html > > <http://code.google.com/apis/wave/articles/gadgetdebugging.html>- pamela > > > > On Wed, Oct 14, 2009 at 1:33 PM, nerd_boy <[email protected]> wrote: > > > Changed the require feature as you stated, but it still isn't > > working. :| I'll continue sifting through the source of other gadgets > > to try and figure it out. Thanks. > > > On Oct 13, 8:46 pm, "pamela (Google Employee)" <[email protected]> > > wrote: > > > Hi nerd_boy - > > > We are currently updating the documentation with a notice that some > > > functionality (like this) is only available in the latest version of the > > > API. > > > Change <Require feature="wave"> to "wave-preview" and it should work. > > > > Check the Map Gadget in the samples gallery for example usage. > > > > - pamela > > > > On Wed, Oct 14, 2009 at 9:21 AM, nerd_boy <[email protected]> > > wrote: > > > > > 'lo all > > > > > Firstly, let me say I don't have access to the Sandbox, so if > > > > this is a silly question that would easily be answered there or > > > > whatever, that is why. > > > > > Toying around with making a gadget, and I'm wanting to have a > > > > different "view" if the wave is in EDIT mode rather than the regular > > > > VIEW mode. However, with the code: > > > > > if(wave.getMode()==wave.Mode.VIEW){document.write("View Mode"); > > > > else if(wave.getMode()==wave.Mode.EDIT){document.write("Edit > > > > Mode"); > > > > > in <script> tags, neither one appear either when I'm viewing the wave > > > > or when I'm editing it. I threw a document.write("Testing > > > > Javascript"); outside of the if statements to ensure I hadn't borked > > > > anything else up, and that at least prints. > > > > > So, any ideas as to what I'm doing wrong? Or is getMode not yet > > > > fully supported in Wave Preview? Thanks in advance, > > > > --nerd_boy --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
