Re: T5: Type Coercion vs. Translator

2007-06-15 Thread tovarisch
I'm a bit confused about coercion and translators. What if I want to use BigDecimal for two kind of data but with different representation (say 2 and 4 decimals)? I can create two named translators, but what about coercion? Thanks. Howard Lewis Ship wrote: > > There's (for the moment) two conf

Re: T5: Type Coercion vs. Translator

2007-05-22 Thread Howard Lewis Ship
There's (for the moment) two configurations that control translators. Here's the built-in contributions, provided by TapestryModule: /** * Contributes the basic set of default translators: * * Integer * String * Long * Double * */ public static void contrib

T5: Type Coercion vs. Translator

2007-05-22 Thread Fisher, Brice A
I have a bean that returns an Id as a java.util.UUID. Tapestry 5 can't translate this into anything it can display, so I get a: --- java.lang.IllegalArgumentException No adapter from type java.util.UUID to type org.apache.tapestry.Translator is available (registered types are java.lang.Double,