primefaces autocomplete input lose focus when selecting item with mouse
I have a primefaces autocomplete input which displays cities. I want to fill zip code when autocomplete input lose focus. when I select the city whith the enter key the autocomplete input doesn't lose focus and the when i press tab key zipcode is filled and get focus, that is ok for me, but when I select city whith mouse listner method which fill zipcode is called with typed chars istead of a selected value and the autocomplete input lose focus.

is there any idea to get select with mouse working.

Thank you for your help.

My code is like that:

    <p:autoComplete
      value="#{myBean.city}"
    	completeMethod="#{autoComplete.completeCity}"
    	var="v"
    	itemLabel="#{v.city}"
    	itemValue="#{v.city}">
    	<f:ajax event="blur" render="zipcode" listener="#{myBean.fillZipCode}" />	
    </p:autoComplete>

my config : jsf 2 PrimeFaces 3.0.RC1 

primefaces autocomplete input lose focus when selecting item with mouse
===

I have a primefaces autocomplete input which displays cities. I want to fill zip code when autocomplete input lose focus. when I select the city whith the enter key the autocomplete input doesn't lose focus and the when i press tab key zipcode is filled and get focus, that is ok for me, but when I select city whith mouse listner method which fill zipcode is called with typed chars istead of a selected value and the autocomplete input lose focus.

is there any idea to get select with mouse working.

Thank you for your help.

My code is like that:

    <p:autoComplete
      value="#{myBean.city}"
    	completeMethod="#{autoComplete.completeCity}"
    	var="v"
    	itemLabel="#{v.city}"
    	itemValue="#{v.city}">
    	<f:ajax event="blur" render="zipcode" listener="#{myBean.fillZipCode}" />	
    </p:autoComplete>

my config : jsf 2 PrimeFaces 3.0.RC1 
