Which renderer API for this?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Which renderer API for this?

Nevin Pratt
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?

Nevin

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Which renderer API for this?

Michel Bany-3
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.



_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Which renderer API for this?

Nevin Pratt
Michel Bany wrote:

> 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.
>

Yep, it does.

Thanks, Michel!

Nevin

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside