I am looking for the same thing...I tried many a ways but no use...
Please let me know if got any solution...
Can anyone please help me out for this problem or else I would have to switch from RichFaces to IceFaces(which i would not like). Please tell me any solution you got for this problem.
What ID you will use in case of user types the value manually, but not selects it from the suggestionBox list?
If you want to have only value from the list, it should be a h:selectOneListbox where desire functionality presents. suggestionBox just did not designed for your use case. suggestionBox is a helper for quick text typing.
If the user types the value manually I would give him error message when the page is submitted.
In ICEFaces, they provided this functionality where you get the ID of the selected value. So i was looking something similar in RichFaces but unfortunately it seems I would have to switch to ICEFaces..