When you use gadgets.io.RequestParameters.CONTENT_TYPE does the request
return a DOM element? I try to encourage people to use the enumeration
types vs. the string literals for these values. If the string value
changes, it can be very hard to debug your program.
~Arne
On Feb 8, 2008 11:22
Hi Nikhil,
Sorry, that should be response.data.childNodes.
You may be interested in installing Firebug (
https://addons.mozilla.org/en-US/firefox/addon/1843 ) With Firebug
installed you can just do console.log() on an object to see what properties
are available.
~Arne
On Feb 8, 2008
Hi Jason, Arne
when calling makeRequest I get the following error in firefox error
console..
Error: [Exception... Not enough arguments nsresult: 0x80570001
(NS_ERROR_XPC_NOT_ENOUGH_ARGS) location: JS frame ::
it occurs on the line : xhr.send() in the makeRequest function
definition.
my
Hi Mak,
Your code looks correct. That error is caused by a bug in Shindig, which
has already been fixed:
http://svn.apache.org/viewvc?view=revrevision=619579
Orkut is currently running Shindig, but doesn't have this patch applied,
and will probably not be updated until early next week.
Arne,
Thanks for the Firebug tip, I was already using it...
I've done what you said and I can see the contents of response.data
However, it's type (typeof response.data) returns string.
response.data.childNodes is *undefined*
On Feb 9, 3:17 am, Arne Roomann-Kurrik [EMAIL PROTECTED]
wrote:
Hi
I seem to have got the real problem;
If you pass the param as 'contentType' instead of
gadgets.io.RequestParameters.CONTENT_TYPE, response.data is returned
as a string.
On Feb 9, 10:56 am, :nikhil_gupte [EMAIL PROTECTED] wrote:
Arne,
Thanks for the Firebug tip, I was already using it...
Hi,
I don't know the difference between gadgets.io.makeRequest and
gadgets,makeRequest but
the example here:
http://code.google.com/apis/opensocial/docs/0.6/devguide.html#XML
works fine to me.
Hope that I help.
Takamoto
On Feb 7, 2008 6:28 AM, :nikhil_gupte [EMAIL PROTECTED] wrote:
Ive'
That is for 0.6. I need to use 0.7 i.e. with gadgets.io.makeRequest
On Feb 7, 4:18 pm, Tiago Takamoto [EMAIL PROTECTED] wrote:
Hi,
I don't know the difference between gadgets.io.makeRequest and
gadgets,makeRequest but
the example
Hi,
I got it, but when I tried the 0.7 with Require feature=io / I received
that the feature is not available.
Thanks for explain.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Orkut Developer Forum group.
To
9 matches
Mail list logo