if (!profile.has(ValidationConstants.CONSTRAINTS)) {
profile.put(ValidationConstants.CONSTRAINTS, new JSONObject());
}
JSONObject cons = profile.getJSONObject(ValidationConstants.CONSTRAINTS);
required.accumulateProperty(cons, getClientId(),
new JSONLiteral("[tapestry.form.validation.isPalleteSelected]"));
required.accumulateProfileProperty(this, profile,
ValidationConstants.CONSTRAINTS, required.buildMessage(context, this));
}