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
within the menu, but doesn't help.
Any idea for a workaround?
If not, is it possible to control how often the ajax requests are fired? If a user types without pause in the input,
it shouldn't fire a request on every key, but only after the user pauses a certain amount of time, like one second.