This is precisely the problem :

The ValueEncoder is already provided in the AppModule, but it isn't taken
into account!

Like I wrote before, I then tried to force the use of the encoder by
setting explicitely the encoder parameter of my loop, but it doesn't work
either...

2012/10/19 Thiago H de Paula Figueiredo <thiag...@gmail.com>

> On Fri, 19 Oct 2012 09:42:08 -0300, Thomas Cucchietti <
> thomas.cucchie...@gmail.com> wrote:
>
>  I'm not using tapestry-hibernate (tech. stack is
>> Tapestry/Spring/Hibernate)
>> but currentSubEntity is an hibernate entitiy (annotated by
>> javax.persistence.Entity).
>>
>> PS: I didn't see your previous answer while typing my second mail.
>> Obviously, I thank you too for trying to help :)
>>
>
> Oops, I'm sorry for overlooking that. :P
>
> You'll need to provide a ValueEncoder for currentSubEntity's class through
> the encoder parameter in RadioGroup or defining this ValueEncoder in a
> global manner (so you don't need to specify it in each form field component
> that uses it) through contributing it to the ValueEncoderSource service. I
> believe JumpStart has at least one example of each. Anyway, all you need to
> know is in the ValueEncoder JavaDoc. Or you can take a look at how
> tapestry-hibernate is implemented and adapt it for your stack and have
> ValueEncoders provided automatically for all your entities.
>
>
> --
> Thiago H. de Paula Figueiredo
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> users-unsubscribe@tapestry.**apache.org<users-unsubscr...@tapestry.apache.org>
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to