Results 1 to 3 of 3

Thread: I'm new to the ValangValidator...

  1. #1

    Default I'm new to the ValangValidator...

    Anyone know where I could find more documentation on the syntax of the below validation scripting language (in the CDATA section)? I searched http://static.springframework.org/sp...-reference.pdf but didn't find any matches for "valang".

    Code:
    <bean id="tradeValidator"
    	class="org.springmodules.validation.valang.ValangValidator">
    	<property name="valang">
    		<value>
    			<![CDATA[
    			{ streetName : length(?) < 31 : 'streetName too long' : 'streetName_length' : 30}
    		]]>
    		</value>
    	</property>
    </bean>
    Last edited by ndefreitas; Mar 10th, 2008 at 11:07 PM.

  2. #2

  3. #3

    Smile Thanks!

    Thanks iluvatar!
    This is just what I needed.

Posting Permissions

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