tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: Tiles2 Localization
Date Wed, 23 May 2007 12:09:12 GMT
2007/5/23, Todd Wilkinson <lp@dealsqueal.com>:
>
> However I do have one follow-up
> question - tiles only seems to 'cascade' the definitions from the general
> tiles-defs.xml and the specific locale file.  I have templates and content
> that may apply to a whole state, and would like to override on multiple
> levels: tiles-defs.xml -> tiles-defs_en_US_state.xml ->
> tiles-defs_en_US_state_city.xml
>
> Where does the loading of the defs files take place?



The loading takes place (for default) in DigesterDefinitionsReader:
http://tiles.apache.org/framework/apidocs/org/apache/tiles/definition/digester/DigesterDefinitionsReader.html
While the definition inheritances are calculated in DefinitionsImpl:
http://tiles.apache.org/framework/apidocs/org/apache/tiles/definition/DefinitionsImpl.html

HTH
Antonio

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message