Announcement Announcement Module

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions ( project, this forum has been decommissioned in favour of Spring Extensions one at:

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.

Costin Leau
SpringSource - Spring Training, Consulting, and Support - "From the Source"
See more
See less
issue in displaying correct error messages using commons validator Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • issue in displaying correct error messages using commons validator

    I'm using a WizardFormController and using a ConfigurablePageBeanValidator to validate form fields accross multiple pages.

    Here are some snippets of text from a few relevant files:


    <form name="customer">
    <field property="firstName" depends="required" page="0">
    <arg0 key="required.firstName" />

    required.firstName=First Name field is mandatory (make it up if you don't have one)


    <bean id="messageSource" class=" eBundleMessageSource">
    <property name="basenames" >

    The problem:

    The validation seems to be working fine, but the error messages displayed next to the html fields are not from the but instead "errors.required" is displayed on the html page.

    This completely beats me. What could be going wrong?

    Appreciate any help on this.