@Named @RequestScoped public class CountryController extends Object implements Serializable
workitems/parts/country.xhtml,
Serialized Form| Constructor and Description |
|---|
CountryController() |
| Modifier and Type | Method and Description |
|---|---|
List<javax.faces.model.SelectItem> |
getCountriesSelectItems()
Retuns a list of select items with all country codes and country display
names
|
String |
getCountryName(String countryCode) |
String |
getCountryNames(List<String> countryCodes) |
void |
onEvent(org.imixs.workflow.engine.TextEvent event)
Observer method for CDI TextEvetns to convert a country code into
getDisplayCountry
Example:
Optional a locale can be provided to specify the target language Example:
|
public List<javax.faces.model.SelectItem> getCountriesSelectItems()
public void onEvent(@Observes
org.imixs.workflow.engine.TextEvent event)
Example:
Optional a locale can be provided to specify the target language Example:
event - Copyright © 2016–2021 Imixs Software Solutions GmbH. All rights reserved.