/** * Applies the model's type to the component. * * @throws BindingException if component does not accept type */ @SuppressWarnings("unchecked") protected void applyType() { columnConfiguration.setGenericType(getMember().getGenericType()); columnConfiguration.setType((Class<T>) getMember().getType()); }
/** * Applies the model's type to the component. * * @throws BindingException if component does not accept type */ protected void applyType() { component.setGenericType(getMember().getGenericType()); component.setType(getMember().getType()); if (getMember().isReadOnly()) { component.setChangeable(false); } }