Re: Use Translator

2012-01-25 Thread resign
hi, i want to say "THANKS" for help. Unfortunately it was not possible to get this thing to run, so i made an work around. It now works, the problem was - no communication between developers bye Live long and prosper! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Us

Re: Use Translator

2012-01-23 Thread Thiago H. de Paula Figueiredo
On Mon, 23 Jan 2012 11:06:48 -0200, resign wrote: thanks, i get an Exception org.apache.tapestry5.ioc.util.UnknownValueException: Could not find a coercion from type java.lang.String to type ...Email Do i need an own TypeCoercer ? You'll need the translate parameter. -- Thiago H. de Paula F

Re: Use Translator

2012-01-23 Thread resign
thanks, i get an Exception org.apache.tapestry5.ioc.util.UnknownValueException: Could not find a coercion from type java.lang.String to type ...Email Do i need an own TypeCoercer ? greetings, resign -- View this message in context: http://tapestry.1045711.n5.nabble.com/Use-Translator-tp51656

Re: Use Translator

2012-01-23 Thread Thiago H. de Paula Figueiredo
On Mon, 23 Jan 2012 09:08:59 -0200, resign wrote: Wow very quick answer :-) This mailing list is known for quick answers. :) Snip of my AppModule public static void contributeTranslatorSource(MappedConfiguration configuration){ configuration.add(Email.cla

Re: Use Translator

2012-01-23 Thread resign
Wow very quick answer :-) Snip of my AppModule public static void contributeTranslatorSource(MappedConfiguration configuration){ configuration.add(Email.class, new EmailOfContactTranslator()); } Snip of Translator -- public

Re: Use Translator

2012-01-23 Thread Thiago H. de Paula Figueiredo
On Mon, 23 Jan 2012 08:32:05 -0200, resign wrote: hello, Hi! i try to use Translator to translate some values: Following was made: 1. class EmailOfContactTranslator was created and added to configuration in AppModule When i debug my app i see that toClient method is called and works