Hi developer,
Anyone see error relate wave.getState() is Null when using gadget API.
My code below:
function renderInfo() {
var par = wave.getState().get('myParam');//Problems
occur here >>
wave.getState() is Null.
alert(par);
}
function init() {
if (wave && wave.isInWaveContainer()) {
wave.setStateCallback(renderInfo);
wave.setParticipantCallback(renderInfo);
}
}
gadgets.util.registerOnLoadHandler(init);
that is bug from API or ,...? pls tell me
thanks,
Alex
--
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.