/** * Return the value of the label for this '{@code option}' element. * <p>If the {@link #setLabel label} property is set then the resolved value * of that property is used, otherwise the value of the {@code resolvedValue} * argument is used. */ private String getLabelValue(Object resolvedValue) throws JspException { String label = getLabel(); Object labelObj = (label == null ? resolvedValue : evaluate("label", label)); return getDisplayString(labelObj, getBindStatus().getEditor()); }
/** * Return the value of the label for this '{@code option}' element. * <p>If the {@link #setLabel label} property is set then the resolved value * of that property is used, otherwise the value of the {@code resolvedValue} * argument is used. */ private String getLabelValue(Object resolvedValue) throws JspException { String label = getLabel(); Object labelObj = (label == null ? resolvedValue : evaluate("label", label)); return getDisplayString(labelObj, getBindStatus().getEditor()); }
/** * Return the value of the label for this '{@code option}' element. * <p>If the {@link #setLabel label} property is set then the resolved value * of that property is used, otherwise the value of the {@code resolvedValue} * argument is used. */ private String getLabelValue(Object resolvedValue) throws JspException { String label = getLabel(); Object labelObj = (label == null ? resolvedValue : evaluate("label", label)); return getDisplayString(labelObj, getBindStatus().getEditor()); }