public boolean editValidator(Map args, Component parent) {
    Map newArg = DialogUtils.getMapDialog(val, val.getType(), null, parent);
    if (newArg == null) {
      return false;
    }

    val.getArgs().putAll(newArg);
    return true;
  }
  public boolean editPermissionCondition(Map args, Component parent) {
    Map newArg = DialogUtils.getMapDialog(perm, perm.getType(), perm.getOwner(), parent);
    if (newArg == null) {
      return false;
    }

    Map oldArg = perm.getArgs();
    Set keys = oldArg.keySet();
    Iterator iter = keys.iterator();
    while (iter.hasNext()) {
      Object key = iter.next();
      oldArg.put(key, newArg.get(key));
    }
    return true;
  }