I\'ve been having a trouble trying to make my selectOneMenu content, depend on the value selected on the other. The content from the first one comes from a tabl
value="municipio" in means that the value in that dropdown will never change as you've effectively hardcoded the value on that field to always be municipio (and even that will fail conversion). The value attribute should be bound to a backing bean variable as in
and in your backing bean, have
Municipio municipio;
//getter and setter
Remove the parameter event from . It should be
Remove valueChangeListener="#{beanInscripcion.buscarMunicipios(event)}". It's unnecessary because you already have a event defined
You will eventually run into problems submitting that form because you haven't created a JSF Converter for that Municipio custom type. It's mandatory if you're using anything other than String types in your select components. See a short intro to converters/converting here