src/main/java/de/ipb_halle/molecularfaces/util/RendererUtils.java
/**
	 * Attempt to convert the submitted value using the given component's converter.
	 * 
	 * @param context        {@link FacesContext} for the request we are processing
	 * @param component      component being decoded
	 * @param submittedValue submitted value to be converted
	 * @return converted value
	 * @throws ConverterException   if the submitted value cannot be converted
	 *                              successfully
	 * @throws NullPointerException if {@code context} or {@code component} are
	 *                              {@code null}
	 */
Attempt to convert the submitted value using the given component's converter.


Attempt to convert the submitted value using the given component ' s converter .
public static Object convertSubmittedValueToObject(FacesContext context, UIComponent component,
			Object submittedValue) throws ConverterException {
		Objects.requireNonNull(context);
		Objects.requireNonNull(component);
		if ((submittedValue instanceof String) && (component instanceof UIInput)) {
			UIInput inputComponent = (UIInput) component;
			Converter converter = inputComponent.getConverter();
			if (converter != null) {
				return converter.getAsObject(context, inputComponent, (String) submittedValue);
			}
		}
		return submittedValue;
	}
public static Object convertSubmittedValueToObject ( FacesContext context , UIComponent component , Object submittedValue ) throws ConverterException { Objects . requireNonNull ( context ) ; Objects . requireNonNull ( component ) ; if ( ( submittedValue instanceof String ) && ( component instanceof UIInput ) ) { UIInput inputComponent = ( UIInput ) component ; Converter converter = inputComponent . getConverter ( ) ; if ( converter != null ) { return converter . getAsObject ( context , inputComponent , ( String ) submittedValue ) ; } } return submittedValue ; }
Attempt to convert the submitted value using the given component's converter.
Attempt to convert the submitted value using the given component ' s converter .
// fallback