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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1
    • Component/s: JSF
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: