You can contribute as many catalogs as you want. See the contribution to the ComponentMessagesSource service here:
https://github.com/drobiazko/tapestry5inaction/blob/master/showcase/src/main/java/com/tapestry5inaction/services/AppModule.java On Wed, Aug 10, 2011 at 5:52 PM, Jens Breitenstein <mailingl...@j-b-s.de>wrote: > Hi all! > > We have a WebApp and are currently developing a more or less similar App > with extended / slightly changed functionality (yes a customized versision). > Instead of C&P we use inheritance through all technical layers (starting > from Hibernate-DB over Spring-Services to T5-classes) to implement our > changes which works just perfect. Perfect beside reuse / extending the > global message catalog. Contribution of a second message catalog via > > public static void contributeApplicationDefaults(**final > MappedConfiguration<String, String> configuration) > { > configuration.add(**SymbolConstants.APPLICATION_**CATALOG, > "xy.properties"); > } > > fails, because T5 complains that the key already exists... Unfortunately I > have to admit T5 is right in complaining :-) > > "override" is not an option as we loose our existing catalog thus 90% of > the inherited UI shows "missing key". I want to avoid the pain of page / > component based messages if possible. Is there any way to merge catalogs > between all *Modules? Do I have to override an internal T5 service and if so > which one?? Or do I really have to C&P all properties??? > > Any idea or hint is welcome > > Thanks in advance > > > Jens > > > > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@tapestry.**apache.org<users-unsubscr...@tapestry.apache.org> > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Best regards, Igor Drobiazko http://tapestry5.de