--- "matt.payne" <[EMAIL PROTECTED]> wrote:
> Chris Pratt wrote:
> > On Jan 10, 2008 1:15 PM, matt.payne <[EMAIL PROTECTED]> wrote:
> >> It would be a ton more useful if it could provide the default class for
> >> actions defined in a abstract parent package, where the implementation
> >> class for those actions was not specified.
> > I'm not sure what you mean by the "abstract parent package", otherwise
> > that seems like exactly what it does.  If you create a package in
> > struts.xml and define the default-class-ref, then create another
> > package that extends the first, it should inherit the
> > default-class-ref from the parent package.
> My expectation would be that child package would override
> "default-class-ref" and have that applied/substituted to the actions
> defined in the parent.

Isn't that sort of backwards to how inheritance works? A child package
defines behavior for it and its children, not its parents.

d.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to