fixed, thanks

-igor


On 8/15/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
>
> @ core-devs:
>
> The solution that first came to mind was to override add(Component) in
> > SuperComponent so that it would add the added component to myContainer
> > instead of 'this'. Unforunately, the add method is final (why!?), so
> > this can't be done.
>
>
> the javadoc for MarkupContainer#add(Component) should be changed because
> it's final, but it says
>
> * Be careful when overriding this method, if not implemented properly it
> * may lead to a java component hierarchy which no longer matches the
> * template hierarchy, which in turn will lead to an error.
>
> , when overriding is simply not possible at the moment.
>
> gerolf
>

Reply via email to