[Seaside] FW: Concatenate Seaside/JQuery to Javascript

Robert Sirois watchlala at hotmail.com
Wed Nov 23 19:45:48 UTC 2011

Lol false alarm. It turns out if you put a function call after a return statement, the function won't be called ;)

From: watchlala at hotmail.com
To: seaside at lists.squeakfoundation.org
Subject: Concatenate Seaside/JQuery to Javascript
Date: Wed, 23 Nov 2011 12:28:42 -0700

How can I do something like this? It's sorta cheating hehe.
Scaler.sendData = function() { ', (html jQuery ajax callback: [:v | self zoom: v ] value: 'Scaler.scale' ) asJavascript, '; };
I guess my problem is that I need the ajax url tied to the session.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20111123/a8c28c92/attachment.htm

More information about the seaside mailing list