[Seaside] Where to look to find out what...
Wilkes Joiner
wilkesjoiner at gmail.com
Thu Mar 2 13:21:31 UTC 2006
On 3/2/06, Rick Flower <rickf at ca-flower.com> 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..
I would start working with the 2.6a3 branch. I'm not sure if 2.5 has
the Canvas classes. They are definitely the way things are headed and
much nicer to use. Here is a link to my response to a similar
question.
http://lists.squeakfoundation.org/pipermail/seaside/2006-January/006600.html
One little trick with the Canvas / Brush classes, you should call
with: or text: last when cascade several messages i.e.
html anchor
callback: [self doSomething];
id: 'anchorId';
text: 'Click Me!'.
html div id: 'myDiv'; with:
[html text: 'hello']
- Wilkes
More information about the Seaside
mailing list