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

Steven Noble steven.noble at gmail.com
Mon Mar 30 23:09:35 UTC 2009


Thanks guys, that works perfectly

On Fri, Mar 27, 2009 at 6:08 AM, Julian Fitzell <jfitzell at gmail.com> wrote:
> 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
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


More information about the seaside mailing list