public Object getValueName(FacesContext context, UIComponent component) {
    UIInputListOfValues lov = (UIInputListOfValues) component;
    Object valueName = lov.getValueName();

    if (valueName == null) return valueName;

    return InputUtils.getConvertedStringValue(context, component, String.valueOf(valueName));
  }
 public Object getSelectedTextConvertedValue(FacesContext context, UIComponent component) {
   Object selectValue = component.getAttributes().get("selectedText");
   if (selectValue == null) return selectValue;
   return InputUtils.getConvertedStringValue(context, component, String.valueOf(selectValue));
 }