Hi Matias - Please link to a simplified version of the gadget code so that we can see what you're doing.
-pamela On Fri, Dec 11, 2009 at 6:05 PM, Matias Molinas <[email protected]>wrote: > Works for me, but only in firefox 3 :-( . I suspect that this is a > problem initializing the state, but I can not even identify. > Thank you very much! > > 2009/12/10 dirtside <[email protected]>: > > I actually figured out that using submitValue() instead of submitDelta > > () seems to work properly for whatever key. Not sure why, but at least > > my gadget works now :-) > > > > On Dec 9, 3:50 pm, dirtside <[email protected]> wrote: > >> I'm developing a Wave gadget. It sets a callback function for > >> setStateCallback() and setParticipantCallback(), which apparently gets > >> called immediately, three times (I'm guessing once for the > >> setStateCallback and once each for the two participants). > >> > >> The callback function (updateDisplay) calls another internal function > >> which calls wave.getState(). Well, the first time it calls > >> wave.getState() I get a JS error saying that wave.getState() is null, > >> which I guess means it hasn't been initialized yet. So my question is, > >> why is wave calling the callbacks before the wave object is fully > >> initialized, or am I doing something wrong? > > > > -- > > > > 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%[email protected]> > . > > 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]<google-wave-api%[email protected]> > . > 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.
