|Modifier and Type||Method and Description|
Collects all values associated with all
Finds an object value in the
public static Object findValueByStringConversion(FacesContext context, UIComponent component, String value, Converter converter)
SelectIteminstances associated with the given component by means of matching its converted value with the given string value.
context- The involved faces context.
component- the component with which
SelectItems should be associated that are used to search in.
value- a string that should match the string representation of one of the values held by the
converter- the faces
Converterused to generate String representations for the values held by the
public static List<Object> collectAllValuesFromSelectItems(FacesContext context, UIComponent component)
SelectIteminstances associated with the given component.
Note that values from recursively scanned
SelectItemGroup instances are included.
Copyright © 2012–2015 OmniFaces. All rights reserved.