Top "Selectonemenu" questions

JSF tag to create a single-select menu.

How to populate options of h:selectOneMenu from database?

I am creating a web application, where you have to read a list of objects / entities from a DB and …

database jsf selectonemenu
How to get both label and value from f:selectItems

I am working on a JSF page which has a dropdown based on List<SelectItem>: <h:selectOneMenu …

jsf label selectonemenu
How to use enum values in f:selectItem(s)

I want to make a selectOneMenu dropdown so I can select a status on my question. Is it possible to …

jsf jsf-2 enums selectonemenu
Validation Error: Value is not valid

I have a problem with a p:selectOneMenu, no matter what I do I cannot get JSF to call the …

validation jsf jpa converter selectonemenu
Default selection for <f:selectItem> within <h:selectOneMenu>

How to make default selection for <f:selectItem> within <h:selectOneMenu>? It's needed,that particular "20" item …

jsf default-value selectonemenu
Best way to add a "nothing selected" option to a selectOneMenu in JSF

I was wondering what would be the best or easiest way to allow a user to select nothing in a …

jsf selectonemenu
Using a "Please select" f:selectItem with null/empty value inside a p:selectOneMenu

I'm populating a <p:selectOneMenu/> from database as follows. <p:selectOneMenu id="cmbCountry" value="#{bean.country}" required="…

jsf primefaces converter jsf-2.2 selectonemenu
h:selectOneMenu onchange="submit()" immediate="true" does not skip validation of other inputs

I can't set my h:selectOneMenu to submit immediately without validating other inputs. Here is the code: <h:selectOneMenu …

jsf-2 selectonemenu
Conversion Error setting value for 'null Converter' - Why do I need a Converter in JSF?

I have problems understanding how to use selection in JSF 2 with POJO/entity effectively. For example, I'm trying to select …

jsf jsf-2 converter selectonemenu
Invoke action method on click of h:selectOneMenu

I have the following drop down list: <h:selectOneMenu value="#{user.favCoffee3}" onclick=""> <f:selectItems value="#{user.…

jsf action selectonemenu