[Seaside] rendering html in the smalltalk image
Boris Popov, DeepCove Labs
boris at deepcovelabs.com
Fri Sep 30 21:21:56 UTC 2011
Also, you can feed any 'renderable' thing directly to #render:
WARenderCanvas builder render: WAStatus new
WARenderCanvas builder render: 'Hello, World'
WARenderCanvas builder render: [:html | html strong: 'Hello, World']
-Boris
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Larry
White
Sent: Friday, September 30, 2011 5:19 PM
To: Seaside - general discussion
Subject: Re: [Seaside] rendering html in the smalltalk image
Perfect. Thank you. This will be really handy.
On Fri, Sep 30, 2011 at 5:07 PM, Boris Popov, DeepCove Labs
<boris at deepcovelabs.com> wrote:
Larry,
Inspect the below to get started,
WARenderCanvas builder render: [:html | html render: WAStatus new]
HTH,
-Boris
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Larry
White
Sent: Friday, September 30, 2011 5:04 PM
To: Seaside - general discussion
Subject: [Seaside] rendering html in the smalltalk image
Hi seasiders.
Is there an easy-ish way to open an inspector on the bit of html that
would be rendered by an arbitrary seaside component?
I think it would make for faster debugging if I could just see what the
html is going to look like (also might make it easy to unit test).
thanks much.
larry
_______________________________________________
seaside mailing list
seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110930/902aaef5/attachment.htm
More information about the seaside
mailing list