Ok thanks seems to work but what is with post requests?
i need them urgently, but i got not to pass postData when i need to generate
it means ican write:

var param = {postData:'hello} and it works but i want to substitute hello by
an urlencoded json string.

how to do that?

marc.'

2008/2/6, Aakash Bapna <[EMAIL PROTECTED]>:
>
> Hi Marc,
> i also got this error with new v0.7, but analyzing the javascript source
> got it to work
> The field AuthorizationType.AUTHENTICATED is not supported yet, hence i
> got same error as yours with it.
>
> Now you have to use the data field to get the final response, your code
> should be" html += responseText.*data*;"
> try params[gadgets.io.RequestParameters.CONTENT_TYPE]=
> gadgets.io.ContentType.TEXT;
>
>
>
> Thanks
>
> ~@@[EMAIL PROTECTED] <%7E@@[EMAIL PROTECTED]>
> http://aakash-bapna.blogspot.com
>
>
>
>  ------------------------------
> Date: Wed, 6 Feb 2008 19:48:19 +0100
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: [OpenSocial] Re: makeRequest
>
> Hi arne, can you help me out with this??
>
> thats the full error message firebug gave to me!
>
>  processResponse("
> http://eiche.informatik.uni-rostock.de/clipping/share/scripts/php/store.php?webclip=
> <html><body>hall...", function(), "webclip", XMLHttpRequest)ifr (line 805)
> (no name)()ifr (line 115)
>  text: data.body,
>
>
> 2008/2/6, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
>
> Hello,
>
> I have an issue with makeRequest function, thats the code i am using:
>
> var params = {};
>
> gadgets.io.makeRequest(param, function (responseText) {
> var html = "<div style='padding: 5px;" + "text-align:left;font-size:
> 90%'>";
> html += responseText;
> html += "</div>";
> document.getElementById('main').innerHTML = html; },params);
>
> and i get this error:
>
> data.text has no properties in response callback function
>
> why??
>
> do i need some more parameters, i thought they are optional!
>
> marc.
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial API Definition" 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/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to