[Seaside] Which renderer API for this?

Michel Bany m.bany at wanadoo.fr
Sat Nov 11 08:47:52 UTC 2006


Nevin Pratt a écrit :
> Seaside 2.3 allowed things like this in target/action methods:
>
> self inform: '<font size="+3"><i>This is a big italicized 
> text!</i><br>And this is non-italicized, on the next line!</font>'
>
> But beginning with Seaside 2.5, that no longer works.
>
> How would I do it now?
This may work :

    self inform: [ :h |
        h html: '<font size="+3"><i>This is a big italicized 
text!</i><br>And this is non-italicized, on the next line!</font>' ]

HTH
Michel.





More information about the Seaside mailing list