Announcement Announcement Module
Collapse

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions (http://www.springsource.org/extensions) project, this forum has been decommissioned in favour of Spring Extensions one at:
http://forum.springsource.org/forumdisplay.php?f=44

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Cheers,
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
See more
See less
Commons Validator - Client Side Messages Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Commons Validator - Client Side Messages

    Hi,

    I've sucessfully got the commons validator working with my web app, however I've noticed that the client side error messages being displayed are not locale specific.

    JavascriptValidatorTag.java fetches the locale from the request:

    Code:
    Locale locale = pageContext.getRequest().getLocale();
    Since this doesn't always pickup the correct locale, it's worth changing this to:

    Code:
    RequestContextUtils.getLocale((HttpServletRequest) pageContext.getRequest());
    See http://forum.springframework.org/showthread.php?t=17030

    jv
    Last edited by robyn; May 15th, 2006, 05:56 PM.
Working...
X