Hi,
I have following code
<h:inputText value="#{legalEntitySelector.filterPattern}" id="inp_text_le"> </h:inputText> <rich:suggestionbox for="inp_text_le" suggestionAction="#{legalEntitySelector.suggest}" ignoreDupResponses="true" requestDelay="300" reRender="origBankSelection" var="sg_item"> <h:column> <h:outputText value="#{sg_item.legalName}"/> </h:column> </rich:suggestionbox>
<rich:suggestionbox id="suggestionBoxId" for="text" tokens=",[" rules="#{suggestionBox.rules}" suggestionAction="#{suggestionBox.autocomplete}" var="result" fetchValue="#{result.text}" rows="#{suggestionBox.intRows}" first="#{suggestionBox.intFirst}" minChars="#{suggestionBox.minchars}" shadowOpacity="#{suggestionBox.shadowOpacity}" border="#{suggestionBox.border}" width="#{suggestionBox.width}" height="#{suggestionBox.height}" shadowDepth="#{suggestionBox.shadowDepth}" cellpadding="#{suggestionBox.cellpadding}"> <a4j:ajaxListener type="org.richfaces.AjaxListener"/> <h:column> <h:outputText value="#{result.text}"/> </h:column> </rich:suggestionbox>
1) Issue with Ajax Container solved into 3.0.1 version.
2) To submit chosen value you may use a4j:support pointed to onselect event.