I have read at 

http://stackoverflow.com/questions/14892680/selectonemenu-with-complex-objects-is-a-converter-necessary


if i have understand it is not  necessaries to create a List<SelectItem> .
It  work also with a list of  SameType .
I have to implem a converter that return
a string of id of myentity and return a object after transform the id string
into the type of the id  and retrouve the entyty objject from db .




--
View this message in context: 
http://myfaces.10567.n7.nabble.com/java-lang-IllegalArgumentException-object-is-of-type-java-lang-String-expected-type-mauro-entity-Heat-tp116991p117019.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to