_component = component;
}
public Object getValue(UIXRenderingContext context)
{
FacesBean bean = _component.getFacesBean();
// Try to get an explicit Converter
Converter converter = (Converter)
bean.getProperty(UIXValue.CONVERTER_KEY);
// OK, no explicit converter, look at the ValueBinding
if (converter == null)
{
ValueBinding binding = bean.getValueBinding(UIXValue.VALUE_KEY);
if (binding != null)
{
FacesContext fContext = (context == null) ?
FacesContext.getCurrentInstance() : context.getFacesContext();
Class<?> type = binding.getType(fContext);