You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Ted Husted <hu...@apache.org> on 2003/05/01 13:25:58 UTC
Re: plans for module inheritance?
A good place to start discussing ideas like this is the Struts wiki.
http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsProjectPages
It's open to all comers, so feel free to jump in.
Personally, what I need most is "inheritance" within the Struts
configuration elements, as we have in the Validator configuration.
I believe that element inheritance with multiple configuration files
(and a naming convention) will provide most teams with all the flexible
they need.
I do want to work on porting element inheritance from Tiles to the other
Struts configurations as soon as 1.1 ships, since it would be of great
help in my own development work. (My other hot button being the
Commons-Resources integration.)
-Ted.
henrik.bentel@teradyne.com wrote:
> Hi
>
> Just curious.
>
> Are there(or have there been) any ideas around module inheritance? Such as
> if the default module defines a common set of actions and globals, these
> could be referenced in "sub-modules" automatically without explicitly
> defining them?
>
> -Henrik Bentel
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>
>
--
Ted Husted,
Struts in Action <http://husted.com/struts/book.html>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org
Re: plans for module inheritance?
Posted by Ted Husted <hu...@apache.org>.
Ted Husted wrote:
> configuration elements, as we have in the Validator configuration.
Oops, it's the Tiles configuration that supports element inheritance.
So, in Tiles, we can define an element that "extends" another element
and only specify the properties that change. This is a suprisingly
powerful feature that I'd like to port to the other Struts configs (post
1.1).
-Ted.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org