1 Reply Latest reply on Jun 1, 2011 5:00 AM by u j

    how to reset client cache of autocomplete

    u j Novice

      I have a h:selectOneMenu with provinces and a

      Richfaces 4 autocomplete with mode=cachedAjax with cities.

      When the province is changed, the client cache of autocomplete should be cleared, otherwise you get the cites of the wrong province suggested if the same prefix is used.

      Is this possible? I tried things like

      <a4j:ajax render="cityName:cityNameList"></a4j:ajax>

      within the menu, but doesn't help.

      It would be nice to have a javascript function which could be called in an onXXX function to clear the autocomplete cache.