public class SelectItemsBuilder extends Object
Map
.Constructor and Description |
---|
SelectItemsBuilder() |
Modifier and Type | Method and Description |
---|---|
SelectItemsBuilder |
add(Object value,
String label) |
javax.faces.model.SelectItem[] |
build() |
List<javax.faces.model.SelectItem> |
buildList() |
static List<javax.faces.model.SelectItem> |
fromMap(Map<?,?> map)
Builds a
List of SelectItem s from the given Map argument. |
public SelectItemsBuilder add(Object value, String label)
public javax.faces.model.SelectItem[] build()
public List<javax.faces.model.SelectItem> buildList()
Copyright © 2012–2014 OmniFaces. All rights reserved.