I'm using SelectItems approach from http://wiki.jboss.org/wiki/Wiki.jsp?page=SelectItems
The problem: when displaying a form with pre-existing selected values, the objectsId in the list of SelectItems will be different than the forms parent object that holds the reference to the selected object.
Therefore the hashes don't match in this code (ReferenceConverter class)
int hash = Integer.valueOf(str).intValue(); for (Object val : values) { if ( val!=null && val.hashCode()==hash ) { return val; } }