Hi all,

I am asking myself if it is a good practice or not to use a Converter as a Spring Managed Bean in order to use DAO resources.

In converter I will read a "long" value from response, which is an ID actually, and load the entity and return it.

So my owner will be set automatically at the end.

How would you do?

Code:
<h:selectOneMenu id="owner"
value="#createProject.project.owner}">
<t:selectItems var="user"
value="#{listUser.users}"
itemLabel="#{user.lastName}, #{user.name}" itemValue="#{user.id}" />						
</h:selectOneMenu>