> Hello,
>
> can someone kindly correct this playground example for me
> http://tinyurl.com/pbk5wyg
>
> When opening debugger (F12 in chrome) I can see the request happening and a
> json response, but can't use it, I guess because of a "Uncaught SyntaxError:
> Unexpected token :" in the console
>
>
> Hi,
>
> you have to "URL-encode" the parameters.
> Like:
>
> http://ultraimg.com/api/1/upload/?key=3374fa58c672fcaad8dab979f7687397&source=https%3A%2F%2Fwww.google.tn%2Fimages%2Fsrpr%2Flogo11w.png&format=json
>
> You might use qx.util.Uri.toParameter() to do that job for you
>
...forgot the playg
Hello,
I still can't get the "loaded" event fired, please check the console (F12
for chrome) and you can see:
Uncaught SyntaxError: Unexpected token :
?key=3374fa58c672fcaad8dab979f7687397&source=https%3A%2F%2Fwww.google.tn%2Fimages%2Fsrpr%2Flogo11w.…:1
notice the ":1" in the end.
When I run t
You were listening to the wrong event.
"changeState" is what you're looking for I think
http://tinyurl.com/l5lj3re
"loaded" is something completely different...
See: http://demo.qooxdoo.org/4.2/apiviewer/#qx.data.store.Json~changeState
vs. http://demo.qooxdoo.org/4.2/apiviewer/#qx.data.store
I need to get the returned response, which is not available on the
"changeState" event but is in "loaded" event, which is never fired, may be
due to the error I mentionned previousely.
Regards,
Peter Schneider wrote
> You were listening to the wrong event.
> "changeState" is what you're looking
Hmm,
why do you thing "loaded" would contain the result?
As far as I read the documentation, "Data event fired after the model has been
created. The data will be the created model."
The model itself would be accessible under "storage.getModel()"
But I think that reason for the error messages yo
Hello,
I have been absent for a few years, and now I am trying to get back into
development and re-access parts of my memory. Anyway, I'll spare you the
details and get to the main course.
I have several, SEVERAL, pieces of code using the deprecated "qx.fx"
effects. I am curious now that it is go
I've had the time to take a quick look at the ultraimg API [1]
It doesn't seem to support JSONP! That's why qooxdoo's Jsonp parser fails.
There's no JavaScript "function call" in the result.
Just Data
{"da":"ta"} (JSON)
instead of
someCallback({"da":"ta"}) (JSONP)
I'm not sure if you can just
Hello,
thank you for your time, when using qx.io.request.Xhr the
Cross-Domain-Request Origin issue araises.
I don't know how to get the result, thank you again for your time.
Regards
Peter Schneider wrote
> I've had the time to take a quick look at the ultraimg API [1]
>
> It doesn't seem to
CORS is something enforced by the browser. It can be bypassed by injecting
the header "Access-Control-Allow-Origin=*" in the response. There was a
github source code for that purpose but I already forgot the project which I
tried to search but there are just too many similar projects. With a lit
10 matches
Mail list logo