My selectOneMenu isn't fireing an onchange event. Here is the code:
<p:selectOneMenu id="select_preset"
value="#{JobMgmtBean.presetGroupName}"
valueChangeListener="#{PFJobMgmtBean.PresetGroupChangeEvent}"
onchange="submit();">
<f:selectItems value="#{JobMgmtBean.presetGroupList}"/>
</p:selectOneMenu>
The selectOneMenu is nicely populated, and I can select different values. But I would expect that after I change a selection, page would be refreshed, i.e. backing bean (RequestScoped) would be recreated (onchange="submit();")? But nothing happens when selection in the selectOneMenu is changed.
Also, value change listener PresetGroupChangeEvent() is not called.
Did I go wrong somewhere?
I'm using Tomcat 7.0.25 + MyFaces 2.1.6 + PrimeFaces 3.2.