Results 1 to 2 of 2

Thread: ValangValidator help

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Posts
    18

    Default ValangValidator help

    I am new to spring batch and using ValangValidator first time.

    I am using springmodules-validation 0.4


    <bean id="springValidator" class="org.springframework.batch.item.validator.Sp ringValidator">
    <property name="validator">
    <bean id="valangValidator"
    class="org.springmodules.validation.valang.ValangV alidator">
    <property name="valang">
    <value>
    <![CDATA[{fundCode : IS NOT NULL: 'Fund code is required' : 'Fund code is required' }]]>
    </value>
    </property>
    </bean>
    </property>
    </bean>


    I tried various combination. I am trying to make sure that fund code has value.

    How can I make it to work with springmodules-validation 0.4

  2. #2
    Join Date
    Dec 2006
    Posts
    1,061

    Default

    This is really a question about Spring Modules...there's a separate forum you can post this question in.

Posting Permissions

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