[Seaside] JSScript objects have a canvas. Can I somehow use this canvas to put escaped html in my js?

Julian Fitzell jfitzell at gmail.com
Fri Mar 27 13:08:33 UTC 2009


Yup... that is better. :)

On Fri, Mar 27, 2009 at 8:23 AM, Lukas Renggli <renggli at gmail.com> wrote:

> > If not, I'm sure Lukas will have a much better solution for you tomorrow
> > anyway. ;)
>
> Yes, I hope so ;-)
>
> In fact all methods that expect some HTML (#html:, #after:, #append:,
> #before:, #prepend:, #replaceWith:, #wrap:, #wrapAll:, #wrapInner:,
> ...) take any renderable object as argument. In the simplest case this
> is a string, but it could also be a presenter/component, or in your
> case a block:
>
>    aQuery append: [ :r | self renderItemOn: r ]
>
> Cheers,
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> 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/20090327/5ef98d4a/attachment.htm


More information about the seaside mailing list