Class SelectOneView
- java.lang.Object
-
- org.primefaces.showcase.view.input.SelectOneView
-
@Named @RequestScoped public class SelectOneView extends Object
-
-
Constructor Summary
Constructors Constructor Description SelectOneView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Country>getCountries()CountrygetCountry()StringgetOption()voidinit()voidonSelect(org.primefaces.event.SelectEvent<String> event)voidonUnselect(org.primefaces.event.UnselectEvent<String> event)voidsetCountries(List<Country> countries)voidsetCountry(Country country)voidsetOption(String option)voidsetService(CountryService service)
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
onSelect
public void onSelect(org.primefaces.event.SelectEvent<String> event)
-
onUnselect
public void onUnselect(org.primefaces.event.UnselectEvent<String> event)
-
getOption
public String getOption()
-
setOption
public void setOption(String option)
-
getCountry
public Country getCountry()
-
setCountry
public void setCountry(Country country)
-
setService
public void setService(CountryService service)
-
-