String func = (_matchType == MATCH) ?
"tapestry.form.validation.isEqual" :
"tapestry.form.validation.isNotEqual";
accumulateProperty(cons, field.getClientId(),
new JSONLiteral("[" + func + ",\""
+ referent.getClientId() + "\"]"));
// could define and use a new ValidationConstants.CONFIRM here to apply to
// the profile, but it doesn't support differ.
accumulateProfileProperty(field, profile,
ValidationConstants.CONSTRAINTS, buildIdentityMessage(context, field, referent));