Re: Contribute custom messages

2012-07-25 Thread Thiago H de Paula Figueiredo
On Wed, 25 Jul 2012 05:46:01 -0300, sainttail wrote: Hi, I am very new to tapestry and I want to localization my web from database source Right now. I stuck and don't know how to do that. So, can you guide the way for me. This thread has one solution: check the comments in https://issue

Re: Contribute custom messages

2012-07-25 Thread sainttail
Hi, I am very new to tapestry and I want to localization my web from database source Right now. I stuck and don't know how to do that. So, can you guide the way for me. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Contribute-custom-messages-tp5542259p5714778.html Se

Re: Contribute custom messages

2012-04-23 Thread Luke Wilson
Hi, In 5.3, overriding ComponentMessageSource is a bit harder than you might think: https://issues.apache.org/jira/browse/TAP5-1850 Luke On 12 Apr 2012, at 10:11, Gerold Glaser wrote: > Hi Henrik! > > You can override or decorate the ComponentMessageSourceImpl and enhance it > with your requi

Re: Contribute custom messages

2012-04-12 Thread Gerold Glaser
Hi Henrik! You can override or decorate the ComponentMessageSourceImpl and enhance it with your requirements. Best regards, Gerold 2012/4/10 Henrik von Schlanbusch > Henrik von Schlanbusch enovate.no> writes: > > > > > Hi > > > > We have made a locale service that extracts messages from the

Re: Contribute custom messages

2012-04-10 Thread Henrik von Schlanbusch
Henrik von Schlanbusch enovate.no> writes: > > Hi > > We have made a locale service that extracts messages from the > database based on keys. We would like to use the service > from the tml files, and preferably to replace the > default tapestry ${message:SOME_KEY} to use our > implementati

Re: Contribute custom Messages for localization

2010-08-11 Thread Christophe Cordenier
Hi ! Tapestry 5 has a built-in mechanism to decorate/override services http://tapestry.apache.org/tapestry5/guide/alias.html As far a i remember, the service in charge of getting messages in page is ComponentMessagesSource http://github.com/apache/tapestry5/blob/trunk/tapestry-core/src/main/jav