You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jim Crossley <jc...@ifleet.com> on 2002/02/07 16:20:17 UTC
Derived tiles inherit controllerClass?
In the tiles definition file, when one definition extends another, the
parent's controllerClass does not seem to be inherited by the child.
Is that by design or a bug?
Thanks.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Derived tiles inherit controllerClass?
Posted by Cedric Dumoulin <ce...@lifl.fr>.
Only the child controller is executed.
When overloading a definition, parent's attribute value is replaced by the child
value if any.
Cedric
Jim Crossley wrote:
> I see. I had a look at the source and another question occurred to
> me. When a child overrides the controllerClass of the parent, would
> we expect only the child's to execute, or would all inherited
> controllers chain together?
>
> Cedric Dumoulin <ce...@lifl.fr> writes:
>
> > It's a bug.
> >
> > Jim Crossley wrote:
> >
> > > In the tiles definition file, when one definition extends another, the
> > > parent's controllerClass does not seem to be inherited by the child.
> > > Is that by design or a bug?
> > >
> > > Thanks.
> > >
> > > --
> > > To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> > > For additional commands, e-mail: <ma...@jakarta.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Derived tiles inherit controllerClass?
Posted by Jim Crossley <jc...@ifleet.com>.
I see. I had a look at the source and another question occurred to
me. When a child overrides the controllerClass of the parent, would
we expect only the child's to execute, or would all inherited
controllers chain together?
Cedric Dumoulin <ce...@lifl.fr> writes:
> It's a bug.
>
> Jim Crossley wrote:
>
> > In the tiles definition file, when one definition extends another, the
> > parent's controllerClass does not seem to be inherited by the child.
> > Is that by design or a bug?
> >
> > Thanks.
> >
> > --
> > To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Derived tiles inherit controllerClass?
Posted by Cedric Dumoulin <ce...@lifl.fr>.
It's a bug.
Jim Crossley wrote:
> In the tiles definition file, when one definition extends another, the
> parent's controllerClass does not seem to be inherited by the child.
> Is that by design or a bug?
>
> Thanks.
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>