示例#1
0
  public void setValue(ELContext context, Object newValue) {
    if (isFinal()) {
      throw new PropertyNotWritableException(_T(EL_PROPERTY_NOT_WRITABLE));
    }

    forget();
    if (listener != null) {
      Object oldValue = value == NO_VALUE ? null : value;
      value = newValue;
      listener.valueChanged(oldValue, newValue);
    } else {
      value = newValue;
    }
  }