I haven't done this myself yet but it's as simple as wrapping the
serialized JSON in an object, In python I don't believe there is a concept
of a 'callback'. jQuery's callback = a python object. I may be wrong though.

-pradeep


On Thu, Mar 7, 2013 at 1:14 AM, shlomo bauer <shlomoba...@gmail.com> wrote:

> I need to have one of my webpy services return jsonp
>
> serializing into a json string is easy enough.
>
> I can't wrap the response in the jquery callback value - and I have no
> clue how to get the value.
>
> I can't find any documentation.
>
> Help.
>
> thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "web.py" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to webpy+unsubscr...@googlegroups.com.
> To post to this group, send email to webpy@googlegroups.com.
> Visit this group at http://groups.google.com/group/webpy?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to webpy+unsubscr...@googlegroups.com.
To post to this group, send email to webpy@googlegroups.com.
Visit this group at http://groups.google.com/group/webpy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to