JSONObject cons = profile.getJSONObject(ValidationConstants.CONSTRAINTS);
accumulateProperty(cons, field.getClientId(),
new JSONLiteral("[tapestry.form.datetime.isValidDate,{"
+ "min:"
+ JSONObject.quote(translator.format(field, context.getLocale(), _minDate))
+ ","
+ "datePattern:"
+ JSONObject.quote(translator.getPattern())
+ (translator.isLenient() ? "" : ",strict:true")
+ "}]"));