ValueChangeListener not firing for h:inputText when I have a converter as well for the inputText

396 views Asked by At

When I remove the f:convertDateTime , the valueChangeListerner is fired. if I put the converter it is not working . Also onblur is working better than onchange.

Can anyone tell me the fix.

Code snippet

<h:inputText id="EffectiveDate" styleClass="textInput" value="# 
{bbean.effectiveDate}" binding="#{bean.uiEffectiveDate}" 
onchange="submit();"
valueChangeListener="#{bbean.valueChangeEffectiveDate}">
<f:convertDateTime type="date" pattern="#{bundle.datePattern}" />
</h:inputText>
0

There are 0 answers