public final class SelectHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
OPTIONS_ENABLE_MANUAL_INPUT |
static String |
OPTIONS_INPUT_DEFAULT_LABEL |
static String |
OPTIONS_LIST_ITEMS |
static String |
OPTIONS_LIST_SELECT_FIRST |
static String |
OPTIONS_SHOWCONTROL |
static Map<String,ComponentAttribute> |
SELECT_LIST_HANDLER_ATTRIBUTES |
Modifier and Type | Method and Description |
---|---|
static void |
addSelectCssToOptions(AbstractSelectComponent abstractSelect,
Map<String,Object> options,
String[] defaultCss) |
static void |
encodeItems(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
List<ClientSelectItem> clientSelectItems,
String itemHtmlElement,
String defaultItemCss) |
static ClientSelectItem |
generateClientSelectItem(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
javax.faces.model.SelectItem selectItem,
int sortOrder,
boolean selected) |
static List<ClientSelectItem> |
getConvertedSelectItems(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
static String |
getSelectInputLabel(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
public static final String OPTIONS_SHOWCONTROL
public static final String OPTIONS_LIST_ITEMS
public static final String OPTIONS_ENABLE_MANUAL_INPUT
public static final String OPTIONS_LIST_SELECT_FIRST
public static final String OPTIONS_INPUT_DEFAULT_LABEL
public static final Map<String,ComponentAttribute> SELECT_LIST_HANDLER_ATTRIBUTES
public static List<ClientSelectItem> getConvertedSelectItems(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
public static ClientSelectItem generateClientSelectItem(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, javax.faces.model.SelectItem selectItem, int sortOrder, boolean selected)
public static void encodeItems(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, List<ClientSelectItem> clientSelectItems, String itemHtmlElement, String defaultItemCss) throws IOException
IOException
public static String getSelectInputLabel(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
public static void addSelectCssToOptions(AbstractSelectComponent abstractSelect, Map<String,Object> options, String[] defaultCss)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.