Custom messages source
Hi all, I am migrating an application to Tapestry 5.3. This application uses its own system to manage i18n messages (using a database to store messages). I would like to bridge its API to t5's Messages API, so I can transparently use the message binding with keys from the old system. Unfortunately, I did not find a easy way to achieve this (this only way to contribute the ComponentMessageSource is to provide extra Resources with a file semantic). Any idea? Best regards Guillaume
Re: Custom messages source
You will either decorate or override ComponentMessagesSource http://tapestry.apache.org/tapestry-ioc-decorators.html http://tapestry.apache.org/ioc-cookbook-overriding-ioc-services.html http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/messages/ComponentMessagesSource.html -- View this message in context: http://tapestry.1045711.n5.nabble.com/Custom-messages-source-tp5718277p5718278.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org