The supported JSF 2.x feature of sequential processing of multiple ajax-events doesn't work for me. I got the following scenario:
h:inputText (CHANGE)
<h:inputText id="consumption_input" value="#{cc.attrs.consumptionInfo.consumption}"> <f:ajax render="#{cc.attrs.outerRenderString}" event="change" listener="#{cc.handleAjaxRequest}" /> </h:inputText>
h:commandButton (ACTION)
<h:commandButton id="startComparisonButton" action="#{rateComparisonBean.startRateComparison()}" value="#{bundle.rateResultOverview_startComparison}"> <!-- This is to avoid mixed requests, ajax and full requests --> <f:ajax render="@form"/> </h:commandButton>
The events of both elements are handled correctly if triggered on it's own.
Problem occurs when both events are triggered within one click (Enter a value in textInput and afterwards click on the button). I expected this lead to two ajax request fired synchronously (CHANGE-TextField and ACTION-commandButton).
Unfortunatelly there's only one Ajax-Request (Change-TextField), the second event seems to be lost completely.
I already ensured that all pre-conditions for a h:commandButton are full filled, as pointed out here: commandButton/commandLink/ajax action/listener method not invoked or input value not updated
I would appreciate to get any hints on how to solve this problem.
Environment: Glassfish 3, Mojarra 2.1.3-FCS