Just had a look at the docs, and I'll think I'll have to leave experimenting with this until my next project :(
Just going to briefly list my points as to why I'm postponing experimenting with this - please feel free to correct any of my assumptions ;))) * Looks like I'd have to subclass my controllers from the TGWS controller just to be able to serve one method as JSONP. I much prefer being able to decorate the one method and have everything else stay the same (matter of taste, though, really). * Its not part of the standard install package for TG2 projects at WebFaction, where I'm hosting my project - more fiddling with the env which I don't currently have time for :( ... its mostly the first point which is irking me. If I'm making a false assumption here, please let me know! :) And thanks again for bringing this project to my attention - I'm also really interested in trying out the SOAP part of that project ... will certainly be using it in one of my future endeavours :))) Cheers, C On Oct 26, 12:26 pm, Christophe de Vienne <[email protected]> wrote: > Hi, > > On jsonp there is no more documentation for now, a small example would > be nice though. > > Using jsonp with tgws only requires you to add a 'jsonp' parameter to > the call, with the name of the function you want to call. > To learn more about calling the webservices, the documentation should > be complete enough. > > Regards, > > Christophe > > On 26 oct, 12:47, "[email protected]" > > > > > > > > <[email protected]> wrote: > > Hi Christophe, > > > Thanks for the heads-up ... is there any more documentation anywhere, > > or is the 'JSONP is supported' the only currently available? :) I'd be > > glad to try and contribute some docs for this, as its a feature I'm > > really interested in - however, as noted in my previous post, time is > > a luxury I'm seldom afforded at present, so it may be a few weeks > > before I get round to trying this out and putting together some docs > > if needed. > > > Cheers, > > C > > > On Oct 25, 2:08 pm, Christophe de Vienne <[email protected]> wrote: > > > > Hi, > > > > Just to jet you know that TGWebServices already provides jsonp > > > support : > > > >http://packages.python.org/TGWebServices/usage.html#jsonp-support > > > > One just need to add a "jsonp" named parameter when calling the a > > > method. > > > > Regards, > > > > Christophe -- You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en.

