Hi Robert,
I think this is what you are looking for:
(html jQuery ajax callback: [:v | self zoom: v ] value: (JSStream on: 'Scaler.scale') ) asFunction assignTo: 'Scaler.sendData'
if not, I think I misunderstood the question.
cheers,
Johan
On 23 Nov 2011, at 20:28, Robert Sirois wrote:
> 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.
>
> Thanks,
> RS
> _______________________________________________
> seaside mailing list
>
[hidden email]
>
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside