public class SelectUtils
extends java.lang.Object
UISelectOne and UISelectMany.| Modifier and Type | Class and Description |
|---|---|
static class |
SelectUtils.ArrayIterator
Exposes an Array via an
Iterator |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
matchValue(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent component,
java.lang.Object value,
java.util.Iterator<javax.faces.model.SelectItem> items,
javax.faces.convert.Converter converter)
Return
true if the specified value matches one of the
available options, performing a recursive search if if a SelectItemGroup instance is detected. |
static boolean |
valueIsNoSelectionOption(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent component,
java.lang.Object value,
java.util.Iterator<javax.faces.model.SelectItem> items,
javax.faces.convert.Converter converter)
Returns true if component has a
UISelectItem child
whose itemValue exactly matches the argument value |
public static boolean matchValue(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent component,
java.lang.Object value,
java.util.Iterator<javax.faces.model.SelectItem> items,
javax.faces.convert.Converter converter)
Return true if the specified value matches one of the
available options, performing a recursive search if if a SelectItemGroup instance is detected.
ctx - FacesContext for the current requestvalue - UIComponent value to be testeditems - Iterator over the SelectItems
to be checkedconverter - the Converter associated with this componentpublic static boolean valueIsNoSelectionOption(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent component,
java.lang.Object value,
java.util.Iterator<javax.faces.model.SelectItem> items,
javax.faces.convert.Converter converter)
UISelectItem child
whose itemValue exactly matches the argument valuectx - component - value - items - Copyright 2017 ICEsoft Technologies Canada Corp., All Rights Reserved.