[Seaside] Seaside 2.6 Example?
shutej at crazilocks.com
Tue Jan 24 21:12:37 CET 2006
Below, I use WAComponent>>rendererClass and WAComponent>>renderContentOn:.
To be absolutely clear, I mean MyWAComponentSubclass>>rendererClass, and
> It isn't just simpler to use, it's vastly preferable because it has a much
> cleaner interface. Too bad no one can figure out how to use it without
> referring to Pier... (I had to use Pier, myself, in order to figure this
> Essentially the steps are:
> 1. Augment your WAComponent to declare that it's rendered with a
> different class:
> ^ WARenderCanvas
> ...notice it's "rendererClass", not "renderClass", which had me kicking my
> computer for a good 10 minutes.
> 2. Augment your WAComponent>>renderContentOn: method to actually use the
> WAComponent>>renderContentOn: html
> (html div) with: [
> html text: 'Hello World!'
> Remember that the "with:" message "paints" the brush (chain all
> modifications before it, otherwise they won't appear), and go tromping
> through the Seaside-Canvas and Seaside-Canvas-Tags categories to figure
> out what's supported...
> Good luck,
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> Rick Zaccone a écrit :
>>> I'm looking for a Seaside 2.6 example that uses a Canvas? Any
>>> regardless of the size, would be useful. Would someone please supply
>>> pointer? I didn't see anything on <http://seaside.st/>.
>> Have a look at Pier and Magritte, both available on SqueakMap. Canvas is
>> very simple to use. You can have a look at this post from Avi :
>> - --
>> Damien Cassou
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.1 (GNU/Linux)
>> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>> -----END PGP SIGNATURE-----
>> Seaside mailing list
>> Seaside at lists.squeakfoundation.org
> GPG PUBLIC KEY: 0xA2B36CE5
GPG PUBLIC KEY: 0xA2B36CE5
More information about the Seaside