<b:selectOneMenu> formulario view.xhtml
Agregar
selectLabel: Muestra la etiqueta del selectOneMenu
selectValue: Recibe el entity al que debe ser convertido
<p:outputLabel  value="#{msg['field.tipovehiculo']}" />
                        <a:selectOneMenu
                            id="tipovehiculo"
                            value="#{vehiculoController.vehiculo.tipovehiculo}" 
                            requiredMessage="#{msg['field.idtipovehiculo']}"
                            selectLabel="#{vehiculoController.vehiculo.tipovehiculo.idtipovehiculo}"
                            selectValue="#{vehiculoController.vehiculo.tipovehiculo}"
                            selectItemsValue="#{vehiculoController.tipovehiculoServices.tipovehiculoList}"
                            selectItemsLabel="#{item.idtipovehiculo}"
                            />
Last updated
Was this helpful?