-
1. Re: SuggestionBox is not working
ilya_shaikovsky Dec 26, 2007 9:00 AM (in response to kks_krishna)what did you mean under "not working"? JS error, suggestion action isn't called, empty list show.. or something else?
check that
1) server action returns the values you need
2) no errors in a4j:log -
2. Re: SuggestionBox is not working
cyberanto Dec 26, 2007 3:33 PM (in response to kks_krishna)kks, I assume with "not working" you mean that the backing bean is not updated ... In order to do this, add after the last column statement (but before you close the suggestionbox):
<a4j:support id="autoUpdateSupport" event="onselect" action="#{clinicalDetailsBean.updateRegNo}"></a4j:support>
The action can be a dummy action just registering that it got called.
Also, the use of the header facet in the suggestionbox but without column value seems suspect.
As an aside, I had problems using non-string values as fetchValues without a converter. -
3. Re: SuggestionBox is not working
marx3 Dec 27, 2007 5:10 AM (in response to kks_krishna)Do you use ajaxLoadingModalBox? I switched it off and suggestbox has started to work. Probably there is some problem with z-index'es of modal panel and suggestbox list.
Now I have a problem that I can't choose value from list using up/down cursors. It was possible in earlier version. -
4. Re: SuggestionBox is not working
ilya_shaikovsky Dec 27, 2007 7:29 AM (in response to kks_krishna)cyberanto
As an aside, I had problems using non-string values as fetchValues without a converter.
And how the component should knows something about complex object without a converter? It's mandatory in this case.Also, the use of the header facet in the suggestionbox but without column value seems suspect.
We didn't renders facets for columns in suggestion list.
For "not found" label for example you need to use apropriate attribute.
Marx3Now I have a problem that I can't choose value from list using up/down cursors. It was possible in earlier version.
Known bug. -
5. Re: SuggestionBox is not working
marx3 Jan 2, 2008 3:14 AM (in response to kks_krishna)is it fixed in CVS? If no, can you give me JIRA number to watch?