Kanu,
Reason your code snippet won't work on GGE is that it has no social data! Its a 
legacy tool.
The code you specified works perfectly in the newer Opensocial Dev App 
(http://www.orkut.co.in/Main#AppInfo.aspx?appId=291092957065)
 
Thanks,Aakash Bapnahttp://aakash.me



Date: Tue, 27 Jan 2009 13:29:42 +0530Subject: [orkut-developer] javascript 
widgetFrom: kanukukr...@gmail.comto: opensocial-orkut@googlegroups.com<?xml 
version="1.0" encoding="UTF-8"?><Module><ModulePrefs title="print owner name" 
/><Content type="html"><![CDATA[<script type="text/javascript" 
language="javascript">function response(data) {alert("response")if 
(data.hadError()) {output("Error: " + data.get("req").getErrorMessage());} else 
{output(data.get("req").getData().getDisplayName());}gadgets.window.adjustHeight();};function
 request() {alert("request")var req = 
opensocial.newDataRequest();req.add(req.newFetchPersonRequest(opensocial.DataRequest.PersonId.OWNER),
 "req");req.send(response);};</script><div><input type="button" 
onclick="request();" value="click me" /></div>]]></Content></Module>i'm trying 
to run this code in Google gadget editor.Its showing alert for request but not 
for response :(Any 
guidance..Regards,Kanu_________________________________________________________________
Windows Live Messenger just got better .Video display pics, contact updates & 
more.
http://www.download.live.com/messenger
--~--~---------~--~----~------------~-------~--~----~
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 
opensocial-orkut+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to