You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Bob Harner <bo...@gmail.com> on 2011/09/01 02:56:51 UTC

Re: List of available ValueEncoders

Thanks, that helps


On Wed, Aug 31, 2011 at 1:40 PM, Howard Lewis Ship <hl...@gmail.com> wrote:
> Looking at TapestryModule, there are three value encoder factories provided:
>
> - Enum  - creates a ValueEncoder for each Enum type
> - String (which is a simple pass-thru)
> - Object - creates a ValueEncoder for any object based on TypeCoercer
>
> and, yes, tapestry-hibernate and tapestry-jpa add ValueEncoders for
> each entity type automatically.
>
> On Sun, Aug 28, 2011 at 3:58 AM, Bob Harner <bo...@gmail.com> wrote:
>> Can anyone tell me definitively the list of types for which Tapestry
>> can provide a ValueEncoder?  That is, other than those added by the
>> Hibernate and JPA modules and user-contributed ones.  I want to say:
>>
>>    Comma-delimited strings
>>    Collections of primitive types and primitive wrapper types
>>    Enums
>
> Most of these cases are in terms of the Object contribution that
> builds on TypeCoercer.
>
>>
>> but it seems like Tapestry can provide a ValueEncoder for any type for
>> which there is a coercion defined both to and from a String (via the
>> TypeCoercedValueEncoder). Is that right?
>>
>> I'm updating some Tapestry documentation on ValueEncoder and I want to
>> be as specific as possible here.
>>
>> Thanks!
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org