my spring config:
Code:
	<bean id="profileValidator" class="org.springmodules.validation.valang.ValangValidator">
		<property name="valang">
			<value>
				<![CDATA[
					{ name : ? HAS LENGTH : 'Profile name is required' : 'required.profileName' }
					{ name : ? IS BLANK OR length(?) <= 30 : 'Profile name must be no longer than {0} characters' : 'proflieName.length': 30 }
				]]>
			</value>
		</property>
	</bean>
my errors.properties:

proflieName.length = Profile name must be no longer than {0} characters

but when I entered long profile name (>30 symbols) I get the message:

Profile name must be no longer than {0} characters

Why I not get the next message:
Profile name must be no longer than 30 characters