Object oldValue = getValue();
if ((oldValue == null && newValue != null) ||
(oldValue != null && !oldValue.equals(newValue))) {
queueEvent(new ValueChangeEvent(this, oldValue, newValue));
}
//TODO UIInput should update the model, not the switchable panel itself
ValueExpression valueBinding = getValueExpression("value");
if (valueBinding != null) {