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
Spring Mod 0.3/DefaultBeanValidator does not suport command Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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, 10:04 PM.

    Comment

    Working...
    X