Re: T5 Type to ValueEncoderFactory

2007-08-22 Thread Nick Westgate (Work)
95 > Netcetera | 1000 Skopje | Macedonia | http://netcetera.com.mk > > > > > --------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View

Re: T5 Type to ValueEncoderFactory

2007-08-22 Thread Ognen Ivanovski
On 2007-08-16, at 05:10, Nick Westgate wrote: Indeed. Hence the JIRA. Howard has mentioned the possibility of merging the two type coercion systems. That Would be great! What I currently do to seamlessly use Entities across the framework (activation / deactivation, parameters, RadioGrou

Re: T5 Type to ValueEncoderFactory

2007-08-15 Thread Nick Westgate
Indeed. Hence the JIRA. Howard has mentioned the possibility of merging the two type coercion systems. Cheers, Nick. Todd Orr wrote: Thanks for the info. I'll add that to my component. However, it seems odd that a simple conversion from Long to String isn't built in. It seems to me that such

Re: T5 Type to ValueEncoderFactory

2007-08-14 Thread Todd Orr
Thanks for the info. I'll add that to my component. However, it seems odd that a simple conversion from Long to String isn't built in. It seems to me that such standard conversions should be part of the framework. On 8/14/07, Christian Koeberl <[EMAIL PROTECTED]> wrote: > Tapestry just supports a

Re: T5 Type to ValueEncoderFactory

2007-08-14 Thread Christian Koeberl
Tapestry just supports a ValueEncoder for String and Enum. If you want additional encoders you have to implement them yourself: class LongValueEncoder implements ValueEncoder { public String toClient(Long value) { return value == null ? "" : value.toString();

Re: T5 Type to ValueEncoderFactory

2007-08-14 Thread Nick Westgate (Work)
gt; > Any ideas? > > Thanks > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: htt

T5 Type to ValueEncoderFactory

2007-08-13 Thread Todd Orr
I've suddenly run into what seems to be a bug that appears when I pass an integer to a custom component that itself contains a radiogroup that uses the inherit:value as its own value. For some reason it will only take a string. If the value is an int, for example, it throws the exception below. I f