0 Replies Latest reply on Oct 24, 2007 5:34 PM by hrdkor

    rich suggestionbox problem

    hrdkor

      I am using richfaces 3.1.2 and I can't seem to get the suggestionbox to work correctly. It appears that when submitted all form values are sent in the ajax request and updating the bean model. See example below:

      Is this correct?

      <a4j:region>
       <h:inputText value="#{carrierControl.carrier.country}"
       styleClass="input" required="false" id="carrier_country" />
       <rich:suggestionbox id="carrierCountrySuggestBoxId"
       for="carrier_country"
       tokens=",["
       rules="#{countrySuggestionBox.rules}"
       suggestionAction="#{countrySuggestionBox.autocomplete}"
       var="result"
       fetchValue="#{result.text}"
       rows="#{countrySuggestionBox.intRows}"
       first="#{countrySuggestionBox.intFirst}"
       minChars="2"
       shadowOpacity="1"
       border="#{countrySuggestionBox.border}"
       width="#{countrySuggestionBox.width}"
       height="#{countrySuggestionBox.height}"
       shadowDepth="#{countrySuggestionBox.shadowDepth}"
       ajaxSingle="true"
       bypassUpdates="true">
       <h:column>
       <h:outputText value="#{result.text}" />
       </h:column>
       <h:column>
       <h:outputText value="#{result.label}" />
       </h:column>
       </rich:suggestionbox>
      </a4j:region>