[Seaside] How to have a ajax handler?

Sebastian Sastre sebastian at flowingconcept.com
Wed Jul 9 14:06:20 UTC 2014

you’re not saying if url/someAPI is your server or not and, if yours, if it’s a seaside app or not

On Jul 9, 2014, at 10:57 AM, Mariano Martinez Peck <marianopeck at gmail.com> wrote:

> Hi guys,
> Maybe the subject of the email is not the most accurate. What I need is the following. From seaside, I am calling a JS library using "html script: 'xxx' ". Now, that JS libs provides me a feature in which it can do an AJAX request to the "url/someAPI" and send some JSON (what I need).
> When I do an ajax request from within seaside I can easily attach a callback. However, in this case, I don't know how to do that. What I need is a callback associated to url/someAPI and I need to read the JSON sent in that ajax request.
> Any idea how can I do this?
> Thanks in advance,  
> -- 
> Mariano
> http://marianopeck.wordpress.com
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20140709/af2516ed/attachment.htm

More information about the seaside mailing list