Look at this Code
Code: Select all
<p:growl id="growl" showDetail="true" />
<p:dataTable id="tbl" value="#{carBean.cars}" var="car" selection="#{carBean.myCar}" selectionMode="single" rows="15">
<p:column>
<f:facet name="header">
<h:outputText value="Kind"/>
</f:facet>
<p:inplace label="#{car.name}" >
<h:selectOneMenu id="type" value="#{car.myCar}" >
<p:ajax event="blur" actionListener="#{carBean.updateMyCar}" update="growl"/>
<f:selectItems value="#{carBean.allCars}"/>
</h:selectOneMenu>
</p:inplace>
</p:column>
</p:dataTable>
When there is a Blur on the first Row, the actionListener is called once...
When there is a Blur on the second row, the actionListerner is called twice...
And guess what... When there is a Blur on the third row, the actionListener is called three times!
Bug?