[Seaside] Where to look to find out what...

Julian Fitzell julian at beta4.com
Thu Mar 2 07:23:47 UTC 2006

Whatever your component returns when sent #rendererClass will be used as 
the renderer for that component.

WAPresenter (a superclass of WAComponent) implements it like this:

	^ WAHtmlRenderer

So your components will all use the old rendering API unless you 
reimplement that method to return WAHtmlCanvas instead.  If you want to 
do this, it's probably best to make a component subclass for your 
project and then subclass that for all your components.  This is good 
practice anyway as there always seems to be behaviour you want to share 
across all your components anyway.


Rick Flower wrote:
> Julian Fitzell wrote:
>> For the old API, just browse the protocol of WAHtmlRenderer.
>> For the Canvas API, you need to do a little work since the methods are 
>> spread out across a bunch of classes.  But most of them are on 
>> WAHtmlCanvas.  Then look at the rest of the canvas class hierarchy and 
>> the several tag classes in the Seaside-Canvas and Seaside-Canvas-Tags 
>> system categories.
> Do I need to do anything if I want to use one over the other?  In my 
> case I believe I'm using the default (whatever that is).. If it helps, 
> I'm using Seaside 2.5b8..
> -- Rick
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the Seaside mailing list