how to ignore the event onchange of a4j:support when clicking button
Posted
by bakkujp
on Stack Overflow
See other posts from Stack Overflow
or by bakkujp
Published on 2010-04-02T10:27:45Z
Indexed on
2010/04/02
10:33 UTC
Read the original article
Hit count: 377
Hi All,
I have a textbox like below
<h:inputText value="#{bean.strQuantite}">
<a4j:support
actionListener="#{tabacListCommandeAltadisDetailBean.actionListenerQuantity}"
event="onchange"
/>
</h:inputText>
I input some value into the textbox above and don't click outside the textbox yet. After that, I click a other button, then click event of button is not trigger. Instead of this, the event onchange of the inputtext above is trigger.
I want to when clicking the button, the click event is trigged before. Can anyone help me to solve this problem ?
© Stack Overflow or respective owner