Results 1 to 3 of 3

Thread: JSR 303 Error Message order

  1. #1

    Default JSR 303 Error Message order

    Hi

    We have switched to using JSR 303 bean validation with Spring 3.0.5 using Spring MVC @Valid etc.. etc...

    When we render the messages, they are in a seemingly random order and do not match the order of the fields on the screen.

    2 problems here:

    1) We want the same order each time
    2) We really want the messages to be in field order

    We can sort it ourselves of course, but is this the best way?

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    I assume you are using the <form:errors/> tag to render the messages. Can you open an Improvement JIRA at jira.springframework.org requesting the enhancement? Makes sense to me.

    Keith
    Keith Donald
    Core Spring Development Team

  3. #3
    Join Date
    May 2005
    Location
    BEEK, The Netherlands
    Posts
    230

    Default

    I wonder if a JIRA ticket was created and the <form:errors /> has support for ordering like this?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •