[Seaside] Styles and Overiding HtmlBuilder

Keith P. Hodges keith.hodges at cheerful.com
Fri Mar 28 03:12:24 CET 2003


>Sorry, I had thought from reading your message that being able to easily
>use a particular subclass in a component would satisfy your needs.  What
>you're talking about above sounds more like what I would think of as a
>View class than a renderer (or renderer plugin), ie, I would be inclined
>to do something like
>
>html render: (TableBuilder from: a2DArray)
>
>and then have TableBuilder implement #renderOn:.
>
>(Terminology note: I use "View" to talk about classes implementing
>#renderOn: that are created during the render and only last for one
>request; views are transient and stateless, components are persistent and
>stateful).
>
>But maybe I'm still missing something about what you're proposing?  Can
>you give a more extended example?
>
>Avi

Yes I had a little look around a few classes, and I came to the same 
conclusion... that adding plugin behaviour to HtmlRenderer is of 
minimal benefit, as opposed to the idea of having a component, with 
state, and UI interactions.

thanks

Keith


More information about the Seaside mailing list