Announcement Announcement Module
No announcement yet.
Over riding binding messages for RichFaces components Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Over riding binding messages for RichFaces components

    I want to use the the rich:calendar component that binds to a date:
    <rich:calendar value="#{dueDate}" enableManualInput="true" />
    As I allow manual input for this field I can get bind errors if I type in rubbish in the field.

    I've overridden the default jsf binding messages by placing overriding messages in a resource bundle and pointing to that via entries in faces config, but how do I override messages at the field level?

    Doing what is described in the manual for a date (see section 4.13. Working with messages,Understanding system generated messages) doesn't appear to work in the above example, e.g. if I put a message in the format formName.fieldName.typeMismatch it makes no difference.

    Whether this is a JSF issue or a Richfaces issue I don't know. Any help would be appreciated.