Hey,
I dont really think so because this kind of renderer will use these ("name"
and "id) as
property expression from User object. And then the DropDown selection
itself would be of type User
as well. I want the selection to be only user's ID, not the whole User
object.
The whole point is just to be able to decouple form DTO from JPA entities...
On Wed, Jan 11, 2017 at 1:37 PM, Sebastien <[email protected]> wrote:
> Hi Zbynek,
>
> Maybe I missed something about your problem, but wouldn't this be enough?
> new ChoiceRenderer<User>("name", "id")
>
> Best regards,
> Sebastien.
>