« Return to Thread: http://struts.apache.org/dtds/struts-2.0.dtd needs to be updated

Re: http://struts.apache.org/dtds/struts-2.0.dtd needs to be updated

by matt.payne :: Rate this Message:

Reply to Author | View in Thread


Chris Pratt wrote:
On Jan 10, 2008 1:15 PM, matt.payne <matthew.b.payne@gmail.com> 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.
> (did that make sense)
>
> Matt
>

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.
  (*Chris*)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
My expectation would be that child package would override "default-class-ref" and have that applied/substituted to the actions defined in the parent.


 « Return to Thread: http://struts.apache.org/dtds/struts-2.0.dtd needs to be updated