Announcement Announcement Module
Collapse
No announcement yet.
ValidationUtils rejectIfEmptyOrWhitespace Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ValidationUtils rejectIfEmptyOrWhitespace

    ValidationUtils.rejectIfEmptyOrWhitespace(
    errors,
    fieldName,
    "error.req.field.missing",
    new Object[]{fieldName},
    "is a required field");

    and in my messageresource file i have
    error.req.field.missing="{0}" is a required field.

    in the jsp it is printing as

    "{0}" is a required field.

    what am i suppose to do
Working...
X