Hi Jeremie,
Jeremie BOUSQUET wrote:
Hello thx Sergiu,
I changed to json content-type, and responseJSON as you proposed.
I checked that my GET request is 200 OK, and in the response the JSON tab in
Firebug shows well formed JSON. But still my json variable is empty at
execution time !
Marius Dumitru Florea wrote:
Hi Jeremie,
Jeremie BOUSQUET wrote:
Hello thx Sergiu,
I changed to json content-type, and responseJSON as you proposed.
I checked that my GET request is 200 OK, and in the response the JSON tab in
Firebug shows well formed JSON. But still my json variable is
On 03/02/2010 01:15 AM, Jeremie BOUSQUET wrote:
Hello,
This is for something I'm trying to develop ... And I'm not sure it has
something to do with XWiki, but who knows ?
In a page I call a particular init() function like this :
Event.observe(window, load, init);
This init() aims at
Yes, the purpose was to use json var after the Ajax.Request() block ...
Understood, I will make a function of the rest of the code and pass in the
onSuccess, thanks.
I tried the asynchronous:false with no different result, but I would have to
test again to be sure.
Thx,
Jeremie
2010/3/2 Sergiu
Great thank you, you were right - executing everything in onSuccess() solved
my issue ! :)
I'm working on integrating JavaScript InfoVis Toolkit
http://thejit.org/with XWiki - at least some graphs. So now I can
successfully display an
hyperbolic tree in a wiki page with json data provided from
Hello,
This is for something I'm trying to develop ... And I'm not sure it has
something to do with XWiki, but who knows ?
In a page I call a particular init() function like this :
Event.observe(window, load, init);
This init() aims at loading some JSON data from another page using Ajax. I
was
On 03/02/2010 01:15 AM, Jeremie BOUSQUET wrote:
Hello,
This is for something I'm trying to develop ... And I'm not sure it has
something to do with XWiki, but who knows ?
In a page I call a particular init() function like this :
Event.observe(window, load, init);
This init() aims at
Hello thx Sergiu,
I changed to json content-type, and responseJSON as you proposed.
I checked that my GET request is 200 OK, and in the response the JSON tab in
Firebug shows well formed JSON. But still my json variable is empty at
execution time !
By the way if I breakpoint on or before the
2 mars 2010 08:30
À : XWiki Users
Objet : Re: [xwiki-users] Strange ajax + json issue
Hello thx Sergiu,
I changed to json content-type, and responseJSON as you proposed.
I checked that my GET request is 200 OK, and in the response
the JSON tab in
Firebug shows well formed JSON