How do UISelectOne and UISelectMany components preselect defaults in f:selectItems
问题 I know how to preselect <p:selectOneMenu> , in selected value should be one of the objects from <f:selectItems> , but how does this component work under the hood and can I change this behavior? In my case I've a duplicate object, actually this is two objects with the same values but created twice and selected object in <p:selectOneMenu> differs from object from <f:selectItems> and it doens't recognize it. Most likely I will change my design so, it will point to same object but in case I can't