<p:selectOneMenu eventos
<p:selectOneMenu converter="provinciasConverter" id="idprovincia"
value="#{municipiosSearchController.municipios.idprovincia}"
filter="true" filterMatchMode="startsWith" effect="fade">
<!-- TODO: update below reference to list of available items-->
<f:selectItem itemLabel="#{app['selectonemenu.select']}" itemValue="#{null}"/>
<f:selectItems value="#{provinciasSearchController.items}"
var="itemp"
itemValue="#{itemp}"
itemLabel="#{itemp.provincia}" />
<p:ajax process="idprovincia" event="change"
update=":form:tabView:idmunicipio,:form:growl"
listener="#{municipiosSearchController.changeItems()}"/>
</p:selectOneMenu>
Last updated
Was this helpful?