[Seaside] Another question before going to sleep :)

Avi Bryant avi.bryant at gmail.com
Mon Nov 29 22:54:27 CET 2004


On Mon, 29 Nov 2004 22:48:13 +0100, kustos <kustos at gmx.net> wrote:

> I'm getting these errors when I do
> html render: aComponent
> in stead of
> aComponent renderContentOn: html
> 
> The second version works, but as far as I understood it, the first way
> is correct, the second not.
> 
> And I don't know too what the problem is.

If component A renders component B (using #render:), then sending
#children to A must return a collection that includes B.  If you're
getting that error, then somewhere up the tree this invariant doesn't
hold.

Avi


More information about the Seaside mailing list