[Seaside] More template questions

Avi Bryant avi@beta4.com
Mon, 10 Jun 2002 01:09:15 -0700 (PDT)


On Sun, 9 Jun 2002, Jim Benson wrote:

> stuff := '<ul><li>first</li><li>second</li></ul>'.
>
> I have a template:
>
> html
> ^ #( '[ stuff ]' )
>
> What I want to do is keep the string as is in the HTML stream, instead of
> doing the '&lt;' etc conversion. In other words in this example, I want the
> list to show up.

MyComponent>>addHandlers
  (template elementNamed: 'stuff')
    escapeHtml: false