2007/5/23, Todd Wilkinson <[EMAIL PROTECTED]>:

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

Reply via email to