Example #1
0
  @Override
  public void notifyUpdate(ActEntry e, String previousValue) {
    super.notifyUpdate(e, previousValue);

    if (("".equals(previousValue.trim()) || "-".equals(previousValue.trim()))
        && !Util.isMixedCase(e.getValue())) {
      e.setValue(Util.upperCase(e.getValue(), true, sex), false);
    }
    e.setValue(Util.trim(e.getValue()), false);
  }
Example #2
0
 @Override
 public void notifyUpdate(ActField f, ActEntry theirEntry, String previousValue) {
   super.notifyUpdate(f, theirEntry, previousValue);
 }