Changeset 332 for trunk/grails-app/i18n


Ignore:
Timestamp:
Apr 8, 2010, 6:02:16 PM (9 years ago)
Author:
duh
Message:
  • introduced template fields validation
  • added i18n messaging for validation errors
  • added template field validation support to subject fields in wizard
  • TODO: an unsetTemplateField(...) method should be added to TemplateEntity? and used in the wizard. As setting an empty value (=empty string) should result in the particular value be unset in the TemplateEntity? instance... This issue results now in not being able to unset previously set template fields.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/i18n/messages.properties

    r70 r332  
    5454typeMismatch.java.math.BigDecimal=Property {0} must be a valid number
    5555typeMismatch.java.math.BigInteger=Property {0} must be a valid number
     56
     57// TemplateEntity errors
     58templateEntity.typeMismatch.integer=Property {0} must be of type Integer and is currently of type {1}
     59templateEntity.typeMismatch.string=Property {0} must be of type String and is currently of type {1}
     60templateEntity.typeMismatch.templateFieldListItem=Property {0} must be of type TemplateFieldListItem and is currently of type {1}
     61templateEntity.typeMismatch.float=Property {0} must be of type Float and is currently of type {1}
     62templateEntity.typeMismatch.double=Property {0} must be of type Double and is currently of type {1}
     63templateEntity.typeMismatch.date=Property {0} must be of type Date and is currently of type {1}
     64templateEntity.typeMismatch.term=Property {0} must be of type Term and is currently of type {1}
Note: See TracChangeset for help on using the changeset viewer.