Results 1 to 2 of 2

Thread: Spring Mod 0.3/DefaultBeanValidator does not suport command

  1. #1

    Default Spring Mod 0.3/DefaultBeanValidator does not suport command

    Hello.

    I've been able to successfully pull stuff out of the Spring Modules CVS and build springmodules-validator-dev-20050819.jar.

    I've followed these instructions by Matt carefully:

    http://jroller.com/page/raible?ancho...or_with_spring
    http://jroller.com/page/raible?entry...ort_for_spring

    However, I'm getting this error -- any clues on where I should look? I've checked everything a couple of times.

    Code:
    [org.springmodules.commons.validator.DefaultBeanValidator@e490fa] does not support command class [pas.controller.TradeSearchCommand]

  2. #2
    Join Date
    Aug 2004
    Location
    Denver
    Posts
    249

    Default

    The name of your commandClass must match the "name" attribute in your
    form definition in validation.xml.

    You could also try using the NamedBeanValidator - this should help you get
    around using "command" for each commandName:

    http://forum.springframework.org/showthread.php?t=10296

    Note that this class has been renamed ConfigurableBeanValidator since
    this code was moved to the Spring Modules project:

    http://jroller.com/page/raible?ancho...ort_for_spring
    Last edited by robyn; May 14th, 2006 at 09:04 PM.

Similar Threads

  1. Spring MVC Web Framework versus Struts
    By biguniverse in forum Web Flow
    Replies: 27
    Last Post: Aug 29th, 2012, 03:57 AM
  2. Replies: 10
    Last Post: Nov 30th, 2009, 06:10 PM
  3. Replies: 5
    Last Post: Aug 9th, 2008, 05:30 AM
  4. A Spring Class Loader?
    By azzoti in forum Architecture
    Replies: 8
    Last Post: May 7th, 2005, 04:02 AM
  5. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 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
  •