Clicking p:commandButton causes the value of p:selectOneMenu being set twice
问题 I ran into an issue with PrimeFaces - consider form with SelectOneMenu being put inside of Inplace . Next to the Inplace we have a CommandButton that is meant to reset the value of the SelectOneMenu . The form looks like this: <h:form id="myform"> <p:inplace id="inplace" editor="true"> <p:ajax event="save" update="@(form)" /> <f:facet name="output"> <h:outputText value="#{testBean.year}" /> </f:facet> <f:facet name="input"> <p:selectOneMenu id="selYears" value="#{testBean.year}"> <f