[Seaside] Concatenate Seaside/JQuery to Javascript

Johan Brichau johan at inceptive.be
Wed Nov 23 19:44:59 UTC 2011


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
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list