Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-679

Global messages displayed with <h:messages/> cannot be found in flow-local messages.properties

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1
    • JSF
    • None

    Description


      When a global message (i.e. not field-specific) is added from a validator, the error code must be in a properties file referenced form a MessageSource. If the code is in a flow-local messages.properties it is not found. The Spring Faces validator components on the contrary do find error codes in flow-local messages.properties. This is inconsistent from a developer's point because both messages are displayed from a facelet view that belongs to a specific flow.

      Attachments

        Activity

          People

            kdonald Keith Donald
            rstoya05-aop Rossen Stoyanchev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: