tag:blogger.com,1999:blog-2037164747358119793.post414816860302998437..comments2024-03-02T07:29:20.547+03:00Comments on Beginning Java & SOA Development: EJB and ADF Faces RC: How to Create a SelectOneChoice with Value Bound to an Object PropertyRommel Pinohttp://www.blogger.com/profile/18179809528284596087noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-2037164747358119793.post-27993093955140169992012-02-25T13:54:10.260+03:002012-02-25T13:54:10.260+03:00Thx for the hint. That's exactly the point.
M...Thx for the hint. That's exactly the point.<br /><br />May the comments help others too;)Anonymoushttps://www.blogger.com/profile/04129837159001672919noreply@blogger.comtag:blogger.com,1999:blog-2037164747358119793.post-26718150871581258472012-02-24T15:15:58.226+03:002012-02-24T15:15:58.226+03:00Hi Andreas,
The problem could be that you were no...Hi Andreas,<br /><br />The problem could be that you were not able to properly implement the hashCode() and equals() method of the MyClassForChoice class.<br />For creating similar selectOneChoice LOVs without necessarily creating a backing bean to generate the select items, please see the following post:<br />https://blogs.oracle.com/adf/entry/simulating_lovlist_of_values_in_ejbRommel Pinohttps://www.blogger.com/profile/18179809528284596087noreply@blogger.comtag:blogger.com,1999:blog-2037164747358119793.post-54796129922093744772012-02-24T15:00:13.786+03:002012-02-24T15:00:13.786+03:00Hi Pino,
in your post you write "...as the o...Hi Pino,<br /><br />in your post you write "...as the object to be edited"<br /><br />In a similar case I run into<br /><br /> <_getSelectedIndex> Could not find selected item matching value "MyClassForChoice@102b1c7" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=soc1]<br /><br /><br />when opening My object for edit. So the selectOneChoice is not set to the right Anonymoushttps://www.blogger.com/profile/04129837159001672919noreply@blogger.com