Results 1 to 1 of 1

Thread: Commons Validator - Client Side Messages

  1. #1
    Join Date
    Jul 2005
    Posts
    17

    Default 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 at 05:56 PM.

Similar Threads

  1. Replies: 4
    Last Post: May 12th, 2006, 02:50 AM
  2. Replies: 7
    Last Post: Aug 1st, 2005, 01:38 AM
  3. commons Validator - no error messages
    By elLord in forum Web
    Replies: 0
    Last Post: Feb 18th, 2005, 07:13 AM
  4. Replies: 1
    Last Post: Jan 5th, 2005, 10:11 AM
  5. Commons Validator integration
    By sjivan in forum Web
    Replies: 3
    Last Post: Oct 14th, 2004, 04:22 PM

Posting Permissions

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