[Seaside] WAComponent

Philippe Marschall philippe.marschall at gmail.com
Sat Aug 26 09:41:49 UTC 2006


2006/8/26, Lukas Renggli <renggli at gmail.com>:
> > > Load the latest version of Magritte, this bug is fixed there.
> >
> > Ah, I hadn't realized I was now required to inherit from MAComponent rather
> > than just using any WAComponent subclass, when did this change?
>
> Well, this was a method addition in Seaside causing this bug:
> WAComponent class>>description returns a string, whereas Magritte
> expects a description as defined in Object. The solution is to use
> MAComponent that implements #description the same way as it is done in
> Object.
>
> Thinking about this problem I now see some other potential bugs,

I'm sure you noticed #asComponent in WAComponent and WADecoration.

Philippe


More information about the Seaside mailing list