Le 03/03/2015, Daniel a écrit :

> I'm not really a REST expert, but isn't that something you'd configure
> in your resource description? Something like
> 
> var description = {
>   "put": { method: "PUT", url: "/eib/new/{ts}"},
> };
> 
> resource.put({ts: something}, data);

Yes, but it is not possible when using long poll; this method only takes
the resource action, but no parameters.

I simulated the long poll by resending the action with its params from the
'success' callback. Don't know if it is very clean, but it seems to work.

-- 
    Frédéric

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to