[Seaside] Component confusion

Michel Bany m.bany at wanadoo.fr
Wed Aug 2 17:25:30 UTC 2006


Jason Johnson a écrit :

>  
>
> What my component is trying to do is be the main navagation component 
> for a site I will eventually build.  It is a very simple class at the 
> moment.  It inherits from WAComponent and it has two instance 
> variables: items (the list items) and activeItem.  Here is the 
> renderOn: method:
>
Hi Jason,
Not sure, but it looks as if  the "items" were other Seaside components.
If this happens to be true, then your main component is rendering
child components, then you need to tell Seaside what those children are,
with an instance method that may look like this:
    children
           ^items
HTH
Michel.



More information about the Seaside mailing list