-
1. Re: How to get selected row in suggestionBox component
Amol Somani Jun 6, 2007 7:30 AM (in response to Madhav Bhargava)Hi..
I am looking for the same thing...I tried many a ways but no use...
Please let me know if got any solution...
Thanks,
Amol. -
2. Re: How to get selected row in suggestionBox component
Amol Somani Jun 8, 2007 12:31 AM (in response to Madhav Bhargava)Hi...
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.
Thanks,
Amol. -
3. Re: How to get selected row in suggestionBox component
Sergey Smirnov Jun 8, 2007 3:46 AM (in response to Madhav Bhargava)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. -
4. Re: How to get selected row in suggestionBox component
Amol Somani Jun 8, 2007 8:08 AM (in response to Madhav Bhargava)Hi Sergey,
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..
Thanks....
Amol.