Any ideas anyone? If someone knows what has happened with orkut sandbox for this not to work and/or to make it work, please let me know..
On 15 syys, 15:32, "Rohan Kapoor" <[EMAIL PROTECTED]> wrote: > I have tried the same thing it is not working for me also. > > > > On Mon, Sep 15, 2008 at 5:55 PM, peps <[EMAIL PROTECTED]> wrote: > > > My application worked fine and I didn't make any changes and now it > > won't work. I think this is because my > > data isn't saved for some reason. Please could someone help? What is > > wrong with the populateMyAppData()-function because it doesn't save > > anything anymore? The data-saving part of my code: > > > function populateMyAppData() { > > > var req = opensocial.newDataRequest(); > > var data1 = document.getElementById('textfield').value; > > var data2 = "some data"; > > if(document.settingsform.thisisyou.checked){ > > var data3 = true; > > } > > else{ > > var data3 = false; > > } > > > req.add(req.newUpdatePersonAppDataRequest("VIEWER", > > "AppField1", data1)); > > req.add(req.newUpdatePersonAppDataRequest("VIEWER", > > "AppField2", data2)); > > req.add(req.newUpdatePersonAppDataRequest("VIEWER", > > "AppField3", data3)); > > > req.send(handlePopulateMyAppData); > > > }; > > > function handlePopulateMyAppData(data) { > > > if (data.hadError()) { > > alert("data errors \nhaderror=" +data.hadError() + > > "\n getErrorMessage=" +data.getErrorMessage() ); > > /* THIS IS WHAT HAPPENS. SO THERE IS SOME PROBLEM, BUT I CAN'T KNOW > > WHAT IT IS. data.hadError()=true, data.getErrorMessage()=undefined */ > > } > > /* if data is saved properly, update the page with the new > > data using requestMyData()-function */ > > requestMyData(); > > > } > > -- > With Best Regards, > Rohan Kapoor --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---