4 Replies Latest reply on Feb 4, 2008 11:07 AM by Ilya Shaikovsky

    Suggestion box updates the model

    Rob Hasselbaum Newbie

      It seems that a <rich:suggestionbox> updates the model whether I want it to or not. Is there a way to disable this behavior so that the model is only updated if the user explicitly submits the form? I tried setting bypassUpdates="true", but it doesn't seem to make a difference. Here is my code:

      <rich:suggestionbox for="validatingCity:city" suggestionAction="#{townSuggestion.suggest}"
       var="suggest" minChars="2" eventsQueue="suggest" requestDelay="200"
       ignoreDupResponses="true" bypassUpdates="true">
       <h:outputText value="#{suggest}"/>