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
I'm playing with the latest Seaside, thinking of porting my app from
Seaside 2.3.

I am aware of the difference between "html text: aString" and "html
html: aString" (introduced around Seaside 2.5), but I have html embedded
in strings in other API's as well.  For example, I do this type of thing
a lot:


                    html
                        anchorWithAction: [self rapidOrderEntry]
                        text: '<font size="+1">Click for <i>Rapid Order
Entry!</i></font>'

because back in the Seaside 2.3 days, I could embed html directly in the
text.

But now I can't.

So, the question is, what is the easiest way to accomplish the above 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?

Boris Popov, DeepCove Labs (SNN)
html anchor
 callback: [self rapidOrderEntry];
 with: [html html: '<font size="+1">Click for <i>Rapid Order
Entry!</i></font>']

Hope this helps,

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Nevin
Pratt
Sent: Tuesday, November 07, 2006 3:32 PM
To: [hidden email]
Subject: [Seaside] Which renderer API for this?

I'm playing with the latest Seaside, thinking of porting my app from
Seaside 2.3.

I am aware of the difference between "html text: aString" and "html
html: aString" (introduced around Seaside 2.5), but I have html embedded

in strings in other API's as well.  For example, I do this type of thing

a lot:


                    html
                        anchorWithAction: [self rapidOrderEntry]
                        text: '<font size="+1">Click for <i>Rapid Order
Entry!</i></font>'

because back in the Seaside 2.3 days, I could embed html directly in the

text.

But now I can't.

So, the question is, what is the easiest way to accomplish the above
now?

Nevin

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
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
Boris Popov wrote:

> html anchor
>  callback: [self rapidOrderEntry];
>  with: [html html: '<font size="+1">Click for <i>Rapid Order
> Entry!</i></font>']
>
> Hope this helps,
>
> -Boris
>
>  

Cool!  I knew it would be something simple!

Thanks, Boris!

Nevin

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