[Seaside] Live Ruby on rails tutorial sites

Nicolas Petton petton.nicolas at gmail.com
Tue Jan 24 20:24:27 UTC 2012


On Tue, 2012-01-24 at 20:24 +0100, Philippe Marschall wrote:
> 2012/1/24 Nicolas Petton <petton.nicolas at gmail.com>:
> > I'd love to use Amber on the client and Seaside + the JSON package on
> > the server. I have some extensions added to Kaliningrad and so far it
> > seems to work fine. Seaside-JSON components are used to send both data
> > and callback ids to the client (Amber).
> 
> You're using Seaside-JSON [1]? Cool! 

Yep :)

> Right now JSON callbacks are only
> niladic. Let me know when that becomes an issue for you and we'll
> think of something.

Yeah, I subclassed the JSON canvas just for that. What It does is send a
JSON string in a POST request and evaluate a WAValueCallback with the
parsed JSON.

This means that it expects some JSON data, but this workaround works
fine for now.

Cheers,
Nico

> 
>  [1] http://www.squeaksource.com/Seaside31Addons.html
> 
> Cheers
> Philippe
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




More information about the seaside mailing list