[Seaside] Re: I would like to attach an onClick event according to
Robert Sirois
watchlala at hotmail.com
Fri Feb 4 22:57:07 UTC 2011
They have to be consistent, yes.
The Seaside factory classes will make that a non-issue. The javascript classes Lukas built have all the functionality you need... it's a matter of learning how to do it. Boris gave a great example. If you want to write out the javascript, then concatenate the strings and simply escape when you need to.
ie.
'"I''m a Smalltalk string in double quotes"'.
'''I''m a Smalltalk string in single quotes'''.
Would look like, printed:
"I'm a Smalltalk string in double quotes"
'I'm a Smalltalk string in single quotes'
I'm failing to see where the problem is. It sounds like a matter of looking at what, precisely, you want, and then translating it to syntax.
RS
> To: seaside at lists.squeakfoundation.org
> From: intrader.intrader at gmail.com
> Date: Fri, 4 Feb 2011 22:34:12 +0000
> Subject: [Seaside] Re: I would like to attach an onClick event according to
>
> Thanks for your help so far.
>
> According to Lukas we should 'say it in Seaside' - but we can't directly; we have
>
> to play games.
>
> _______________________________________________
> 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/20110204/8c439281/attachment.htm
More information about the seaside
mailing list