when onselect event is fired after selecting suggestion ,it is setting userId to myMB
but the value of input text[id=suggest_inpu] is getting cleared in the UI
<h:inputText id="suggest_input" />
<rich:suggestionbox for="suggest_input" minChars="1"
fetchValue="" nothingLabel="no entry found"
suggestionAction="#{myMB.suggestData}" var="suggest">
<h:column>
<h:outputText value="#{suggest.firstname}" />
</h:column>
<h:column>
<h:outputText value="#{suggest.lastname}" />
</h:column>
<a4j:support ajaxSingle="true" event="onselect"
action="#{myMB.refreshData}" reRender="data_id">
<f:setPropertyActionListener value="#{suggest.userID}"
target="#{myMB.userID}" />
</a4j:support>
</rich:suggestionbox>