2007/10/8, Marcus Oenicke <[EMAIL PROTECTED]>: > > > Antonio, > I had the same problem when upgrading from Struts 2.0.6 to Struts 2.0.9. > > If I get you right, it breaks down to: > you can extend templates, but not tiles. > > Templates can represent whole pages or parts of them. > To use templates as tiles (i.e. for a sub-page), you need a separate > definition to fill the attributes of that template. > And only such a definition can be used as a tile in the page definition > which may extend the master template. > Is that right? > > But this behaviour is different to that of the Tiles plugin of Struts > 2.0.6. > There it was possible to extend a master template in various levels into > more specialized templates adding extra attributes and sub-page templates > on > the way while being able to overwrite any attribute of any previous level. > > Is there a special reason for that change?
Err... sorry but I cannot follow you :-O You can extend *definitions*, but you *cannot* extend templates or attributes (BTW, probably the concept of "extension" does not make sense here). With the extension of a definition you can override attributes and the template of that definition. This behaviour has never changed since Struts-Tiles. Antonio
