Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3707

add FeedbackMessages#messagesForComponent (plural)

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5-RC4
    • Fix Version/s: 1.5-RC5
    • Component/s: None
    • Labels:
      None

      Description

      Currently we have

      FeedbackMessages#messageForComponent(component)

      which returns a single message for a component. Actually a component can have more than one message e.g.

      CreditCardField: 'your card will expire in 5 days', 'you transaction was approved', 'your account is slightly overdrawn'

      so we should add

      FeedbackMessages#messagesForComponent(component)

      to return the list of all available messages (not only the first one)

        Attachments

          Activity

            People

            • Assignee:
              pete Peter Ertl
              Reporter:
              pete Peter Ertl
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: